[Svn] r6099 - in branches/release-0.8: . program/steps/settings

trac at roundcube.net trac at roundcube.net
Wed Apr 18 19:53:29 CEST 2012


Author: alec
Date: 2012-04-18 12:53:29 -0500 (Wed, 18 Apr 2012)
New Revision: 6099

Modified:
   branches/release-0.8/CHANGELOG
   branches/release-0.8/program/steps/settings/save_folder.inc
Log:
- Fix parent folder permissions checking on folder creation (#1488443)


Modified: branches/release-0.8/CHANGELOG
===================================================================
--- branches/release-0.8/CHANGELOG	2012-04-18 17:49:02 UTC (rev 6098)
+++ branches/release-0.8/CHANGELOG	2012-04-18 17:53:29 UTC (rev 6099)
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Fix parent folder permissions checking on folder creation (#1488443)
 - Set flexible width to login form fields (#1488418)
 - Fix re-draw bug on list columns change in IE8 (#1487822)
 - Allow mass-removal of addresses from a group (#1487748)

Modified: branches/release-0.8/program/steps/settings/save_folder.inc
===================================================================
--- branches/release-0.8/program/steps/settings/save_folder.inc	2012-04-18 17:49:02 UTC (rev 6098)
+++ branches/release-0.8/program/steps/settings/save_folder.inc	2012-04-18 17:53:29 UTC (rev 6099)
@@ -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