Skip to content

Commit

Permalink
Fix incorrect variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrolGenhald committed May 15, 2017
1 parent 5101cfc commit 78d5cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/steps/settings/save_folder.inc
Expand Up @@ -48,7 +48,7 @@ else if ($name[0] == '.' && $RCMAIL->config->get('imap_skip_hidden_folders')) {
else {
// these characters are problematic e.g. when used in LIST/LSUB
foreach (array($delimiter, '%', '*') as $char) {
if (strpos($name, $delimiter) !== false) {
if (strpos($name, $char) !== false) {
$error = $RCMAIL->gettext('forbiddencharacter') . " ($char)";
break;
}
Expand Down

0 comments on commit 78d5cbb

Please sign in to comment.