Code

Fixed "none" permissions for IMAP mail groups
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Feb 2007 05:57:43 +0000 (05:57 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Feb 2007 05:57:43 +0000 (05:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5735 594d385d-05f5-0310-b6e9-bd551577e9d8

Changelog
plugins/admin/groups/class_groupMail.inc

index 8cc2d4b724b7060d11bf08a0f517838287e55460..a8807ab19f2642ebbcfd322d6fcbbd4bcfa737f3 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -12,6 +12,7 @@ GOsa2 changelog
   - Fixed undefined index in FAI package lists
   - Fixed copy'n paste for groups and object groups
   - Enabled non ASCII characters in vacation messages
+  - Fixed "none" permissions in IMAP shared folders to be assignable
 
 * gosa 2.5.8
   - Fixed problem with winstations shown in user list. 
index f75985244787a789d0f53c0b8673a80a3e68ab81..17a6ed0d414ec437c8a81515768c31a4df5a6c2c 100644 (file)
@@ -557,9 +557,9 @@ class mailgroup extends plugin
           "value=\"$user\" $perm></td><td><select size=\"1\" name=\"perm_$nr\" $perm>";
         foreach ($this->perms as $key => $value){
           if ($acl == $key){
-            $tmp.= "<option value=$key selected>$value</option>";
+            $tmp.= "<option value=\"$key\" selected>$value</option>";
           } else {
-            $tmp.= "<option value=$key>$value</option>";
+            $tmp.= "<option value=\"$key\">$value</option>";
           }
         }
         $tmp.= "</select>&nbsp;";