From b3fae4f0e54dc670520ed4cbe8dab70f59bea0f7 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 4 Nov 2008 10:24:42 +0000 Subject: [PATCH] Fixed array_differs, differnces were not always detected. - git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12892 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2