Code

Updated phoneAccount.
[gosa.git] / include / class_tabs.inc
index bb76200fc612f6090862ccb6013e08d7198bdbeb..cbf0cf87c14526d116ff778f342df2f31c5ec5d4 100644 (file)
@@ -187,7 +187,7 @@ class tabs
 
     /* Setup for all plugins */
     foreach ($this->by_object as $key => $obj){
-      $sacl= get_module_permission($acl, "$key", $this->dn);
+      $sacl= get_module_permission($acl, "$key", $this->dn, false);
       $obj->acl= $sacl;
       if (is_php4()){
         $this->by_object[$key]= $obj;
@@ -251,7 +251,9 @@ class tabs
                        }else{
         $this->by_object[$key]->pl_notify= FALSE;
       }
-               }
+               }else{
+      $this->by_object[$key]->pl_notify= FALSE;
+    }
        }
 
        return ($messages);