summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ff9ad0)
raw | patch | inline | side by side (parent: 9ff9ad0)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Feb 2006 18:14:26 +0000 (18:14 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Feb 2006 18:14:26 +0000 (18:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2694 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index 103a6c1fc6a82ebf0d800bb2a3dc0eea6c9c3ab2..5b57ce3d1b0d264df67037e264c7f8d443282979 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
/* Remove arrays that do not differ */
if (is_array($this->attrs[$index]) && isset($this->saved_attributes[$index]) && is_array($this->saved_attributes[$index])){
- $dst= $this->attrs[$index];
- $src= $this->saved_attributes[$index];
- sort($dst);
- sort($src);
- if (count(array_diff($src, $dst))==0 ){
+ if (count(array_diff($this->attrs[$index],$this->saved_attributes[$index]))==0 ){
unset ($this->attrs[$index]);
continue;
}
}
}
- #######################################################
- ; if (count($this->attrs)!=0){ ;
- ; echo "--- DEBUG: changes ---<br>" ;
- ; print_a ($this->attrs) ;
- ; } ;
- #######################################################
+ #######################################
+ ; if (count($this->attrs)!=0){ ;
+ ; echo "--- DEBUG: changes ---<br>" ;
+ ; print_a ($this->attrs) ;
+ ; } ;
+ #######################################
}
/* Check formular input */