From ba6e22beb9a518fdc245c6d81db4611668237dd1 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 2 Jun 2008 14:03:13 +0000 Subject: [PATCH] Fixed check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11149 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2