Code

Updated ACL checks in Filter Editor Dialog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Oct 2010 10:27:10 +0000 (10:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Oct 2010 10:27:10 +0000 (10:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20058 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderEditDialog.inc

index ef8556130b3ff05fa496a691a2de183e173fb990..4f6bdd74dfd194894fe1448f13a2ddad3ab96a73 100644 (file)
@@ -96,7 +96,7 @@ class FolderEditDialog extends plugin
         foreach($this->folderItem['acls'] as $entry){
             if(!isset($aclNames[$entry['name']])){
                 $aclNames[$entry['name']] = TRUE;
-            }else{
+            }elseif(!empty($entry['name'])){
                 $message[] = sprintf(_("Duplicate permission setting for user '%s'."), $entry['name']);
             }
         }