Code

Fixed error
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 10:16:45 +0000 (10:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 10:16:45 +0000 (10:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16618 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/objectSelect/class_objectSelect.inc

index 6ba1ecb2d975f674bc2165f80fd75654729d3e71..f8f5c028974d7ebc8deeb54f949384cc11bbec2a 100644 (file)
@@ -45,15 +45,15 @@ class objectSelect extends management
     } else {
       $filter = new filter(get_template_path("selectObject-filter.xml", true, dirname(__FILE__)));
       $filter->setObjectStorage($this->storagePoints);
-#}
-      $this->setFilter($filter);
+    }
+    $this->setFilter($filter);
 
-      // Build headpage
-      $headpage = new listing(get_template_path("selectObject-list.xml", true, dirname(__FILE__)));
-      $headpage->registerElementFilter("depLabel", "objectSelect::filterDepLabel");
-      $this->registerAction("open","openEntry");
-      $headpage->setFilter($filter);
-      parent::__construct($config, $ui, "object", $headpage);
+    // Build headpage
+    $headpage = new listing(get_template_path("selectObject-list.xml", true, dirname(__FILE__)));
+    $headpage->registerElementFilter("depLabel", "objectSelect::filterDepLabel");
+    $this->registerAction("open","openEntry");
+    $headpage->setFilter($filter);
+    parent::__construct($config, $ui, "object", $headpage);
   }
 
 
@@ -70,7 +70,7 @@ class objectSelect extends management
   {
     $cn = $cn[0];
     if(!in_array('gosaDepartment', $objectClass)){
-       return($cn);
+      return($cn);
     }
     if($dn == $base){
       $cn =".";