From: hickert Date: Mon, 2 Jun 2008 14:03:13 +0000 (+0000) Subject: Fixed check. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba6e22beb9a518fdc245c6d81db4611668237dd1;p=gosa.git Fixed check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11149 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index fcccd5843..63b6fd541 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -1309,7 +1309,7 @@ class gosaSupportDaemon trigger_error("The given principal name is not of type string or it is empty."); return($ret); } - if(!is_array($values) || !count($values)){ + if(!is_array($values)){ trigger_error("No valid update settings given. The parameter must be of type array and must contain at least one entry"); return($ret); }