Fix not being able to set ACL rights for folders that have space on their names

This commit is contained in:
Hadi Nategh 2014-04-15 09:05:03 +00:00
parent cf6ae6ee77
commit 6016325aa1

View File

@ -314,7 +314,7 @@ class mail_acl
} }
else else
{ {
$folders = explode(' ',$mailbox); $folders = (array)$mailbox;
} }
foreach($folders as $sbFolders) foreach($folders as $sbFolders)
{ {
@ -376,7 +376,7 @@ class mail_acl
} }
else else
{ {
$folders = explode(' ',$mailbox); $folders = (array)$mailbox;
} }
foreach($folders as $sbFolders) foreach($folders as $sbFolders)
{ {