Code

Fixed array_differs, differnces were not always detected.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Nov 2008 10:24:42 +0000 (10:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Nov 2008 10:24:42 +0000 (10:24 +0000)
-

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12892 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc

index 964af5d13ece60f8964672e30f78a41d6bd19325..071ec2903ad26e94a513cbce76bc9d71cb652795 100644 (file)
@@ -2006,7 +2006,7 @@ function array_differs($src, $dst)
     return (TRUE);
   }
 
-  return (count(array_diff($src, $dst)) == 0);
+  return (count(array_diff($src, $dst)) != 0);
 }