summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-18 17:49:02 +0000
committeralecpl <alec@alec.pl>2012-04-18 17:49:02 +0000
commit54758654859b18fbce1e9b9a038311b43f33c7ad (patch)
tree06cb45ef015141778bcfbc2beb0b5d5dc9a4542a /program
parente7ca048d0516339935c8836c80cd59989caf2f8a (diff)
- Fix creating folders if ACL exists (1488443)
Diffstat (limited to 'program')
-rw-r--r--program/steps/settings/save_folder.inc2
1 files changed, 1 insertions, 1 deletions
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');
}