From: hickert Date: Tue, 4 Nov 2008 10:24:42 +0000 (+0000) Subject: Fixed array_differs, differnces were not always detected. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b3fae4f0e54dc670520ed4cbe8dab70f59bea0f7;p=gosa.git Fixed array_differs, differnces were not always detected. - git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12892 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 964af5d13..071ec2903 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -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); }