alecpl
2012-04-18 54758654859b18fbce1e9b9a038311b43f33c7ad
- Fix creating folders if ACL exists (1488443)


1 files modified
2 ■■■ changed files
program/steps/settings/save_folder.inc 2 ●●● patch | view | raw | blame | history
program/steps/settings/save_folder.inc
@@ -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');
    }