projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c553a
)
Fix the comparison of two arrays for changes.
author
Gunnar Wrobel
<p@rdus.de>
Sun, 7 Jun 2009 14:57:46 +0000
(16:57 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Sun, 7 Jun 2009 14:57:46 +0000
(16:57 +0200)
framework/Kolab_Server/lib/Horde/Kolab/Server/Object.php
patch
|
blob
|
history
diff --git
a/framework/Kolab_Server/lib/Horde/Kolab/Server/Object.php
b/framework/Kolab_Server/lib/Horde/Kolab/Server/Object.php
index
0eb96c0
..
162e9ce
100644
(file)
--- a/
framework/Kolab_Server/lib/Horde/Kolab/Server/Object.php
+++ b/
framework/Kolab_Server/lib/Horde/Kolab/Server/Object.php
@@
-932,8
+932,8
@@
class Horde_Kolab_Server_Object
}
if (count($a1) != count($a2)) {
$intersection = array_intersect($a1, $a2);
- return array_merge(array_diff($a1, $intersection),
- array_diff($a2, $intersection));
+ return array_merge(array_diff
_assoc
($a1, $intersection),
+ array_diff
_assoc
($a2, $intersection));
}
$ar = array();
foreach ($a2 as $k => $v) {