Code

Updated goto classes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Nov 2010 15:35:29 +0000 (15:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Nov 2010 15:35:29 +0000 (15:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20357 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/class_filterGotoEvents.inc
gosa-plugins/goto/addons/goto/class_gotomasses.inc
gosa-plugins/goto/addons/goto/events/class_filterSystemByIp.inc

index 240c4d34d7aee3e096021fbb64bbefb81f8a35a0..d81a227e17c9606ffcdc51b87fcd8d735eea705c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 class filterGotoEvents extends  filterLDAP {
-    static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+    static function query($base, $scope, $filter, $attributes, $category, $objectStorage= array(""))
     {
         global $config;
 
index f29fc659f68470e5ccdf659eb88b45b5960c3cfa..23df6ee468532233628f97a13054cc1a4de0e489 100644 (file)
@@ -269,8 +269,9 @@ class gotomasses extends management
         }
     }
 
-    function removeEntryConfirmed($action="",$target=array(),$all=array(),$altTabClass="",
-            $altTabType="",$altAclCategory="", $aclPlugin="")
+
+    function removeEntryConfirmed($action="",$target=array(),$all=array(),
+            $altTabClass="",$altTabType="",  $altAclCategory="",$altAclPlugin="")
     {
         if($this->acl_is_removeable("")){
             timezone::get_default_timezone();
index dd2ae09ba2d139351dd30f2c3725ef96861cae97..48a20241a9fca7a4402ca221a0f236282f3b39c6 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 class filterSystemByIp  extends filterLDAP{
 
-    static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+    static function query($base, $scope, $filter, $attributes, $category, $objectStorage= array(""))
     {
 
         // IP Range selection