Code

Added empty lines
[gosa.git] / plugins / admin / ogroups / class_ogroupManagement.inc
index 1cbeb8d93517d1294329a6ab7003290c2c2c2ba2..4539967ef724b96680d02d0bf8bf4147a5d96a86 100644 (file)
@@ -70,6 +70,9 @@ class ogroupManagement extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
     /* Prepare template */
     $smarty= get_smarty();
 
@@ -82,7 +85,7 @@ class ogroupManagement extends plugin
         $ogroupfilter[$type]= $_POST[$type];
       }
     }
-    if (isset($_POST['regex'])){
+    if (isset($_POST['Ogroup_dialog_posted'])){
       foreach( array("usergroups", "groupgroups", "appgroups", "depgroups",
             "servergroups", "wsgroups", "prtgroups", "tcgroups", "fongroups") as $type){
 
@@ -393,7 +396,7 @@ name='dep_root' alt='"._("Root")."'> ".
 
 
     $divlist->SetSummary(_("This table displays all groups, in the selected tree."));
-    $divlist->SetEntriesPerPage(20);
+    $divlist->SetEntriesPerPage(0);
 
     foreach($this->departments as $key=> $val){