summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1719397)
raw | patch | inline | side by side (parent: 1719397)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 15:04:40 +0000 (15:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 15:04:40 +0000 (15:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10370 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 01c12fcdea1ee751c1b34b8e75efd0fd0fd122f8..95f81c9de533119d5fdfd1ce934c65c9bcb16556 100644 (file)
return($ret);
}
+ /* Check Parameter */
+ if(!is_array($package) || !count($package)){
+ trigger_error("Third parameter must be an array. With at least one attribute name.");
+ return($ret);
+ }
+
/* Create list of attributes to fetch */
$attr = "";
foreach($attrs as $at){