Skip to content

Commit

Permalink
Fix incorrect variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Zach Adams committed May 15, 2017
1 parent 5101cfc commit e92d68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/steps/settings/save_folder.inc
Original file line number Diff line number Diff line change
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 e92d68d

Please sign in to comment.