From 753bf7707be210098fa2204cc230b520beeea2eb Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 18 Apr 2012 17:53:29 +0000 Subject: - Fix parent folder permissions checking on folder creation (#1488443) --- program/steps/settings/save_folder.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps') 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'); } -- cgit v1.2.3