summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-18 17:53:29 +0000
committeralecpl <alec@alec.pl>2012-04-18 17:53:29 +0000
commit753bf7707be210098fa2204cc230b520beeea2eb (patch)
tree791fde4a97ccffc526fc585e95e6a5202ea89ddd
parentf7ae899f66ab6bcaf6a256814db4519a70d0d015 (diff)
- Fix parent folder permissions checking on folder creation (#1488443)
-rw-r--r--CHANGELOG1
-rw-r--r--program/steps/settings/save_folder.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index a074cab36..33e5577fa 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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)
diff --git a/program/steps/settings/save_folder.inc b/program/steps/settings/save_folder.inc
index b7b0e6bab..25b81de44 100644
--- a/program/steps/settings/save_folder.inc
+++ b/program/steps/settings/save_folder.inc
@@ -77,7 +77,7 @@ else {
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');
}