[Svn] r6098 - trunk/roundcubemail/program/steps/settings

trac at roundcube.net trac at roundcube.net
Wed Apr 18 19:49:02 CEST 2012


Author: alec
Date: 2012-04-18 12:49:02 -0500 (Wed, 18 Apr 2012)
New Revision: 6098

Modified:
   trunk/roundcubemail/program/steps/settings/save_folder.inc
Log:
- Fix creating folders if ACL exists (1488443)


Modified: trunk/roundcubemail/program/steps/settings/save_folder.inc
===================================================================
--- trunk/roundcubemail/program/steps/settings/save_folder.inc	2012-04-18 17:44:42 UTC (rev 6097)
+++ trunk/roundcubemail/program/steps/settings/save_folder.inc	2012-04-18 17:49:02 UTC (rev 6098)
@@ -77,7 +77,7 @@
 if (!$error && strlen($path) && (!strlen($old_imap) || $old_imap != $name_imap)) {
     $parent_opts = $STORAGE->folder_info($path);
     if ($parent_opts['namespace'] != 'personal'
-        && (empty($parent_opts['rights']) || !preg_match('/[ck]/', implode($parent_opts)))
+        && (empty($parent_opts['rights']) || !preg_match('/[ck]/', implode($parent_opts['rights'])))
     ) {
         $error = rcube_label('parentnotwritable');
     }



More information about the svn mailing list