Code

Updated gosaSupportDaemon - Parameter check was to strict
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 06:31:05 +0000 (06:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 06:31:05 +0000 (06:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10372 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index 95f81c9de533119d5fdfd1ce934c65c9bcb16556..2e300bfe5bad7b85cca9ee88afb9a4afb477ac70 100644 (file)
@@ -146,7 +146,7 @@ class gosaSupportDaemon
     }
 
     /* Check Parameter */
-    if(!is_array($package) || !count($package)){
+    if(!is_array($package)){
       trigger_error("Third parameter must be an array. With at least one attribute name.");
       return($ret);
     }