From 87fcbf6a94e4abe400f38589314d88bfcfee1a3b Mon Sep 17 00:00:00 2001 From: Zach Adams Date: Mon, 15 May 2017 14:54:27 -0500 Subject: [PATCH] Fix incorrect variable --- program/steps/settings/save_folder.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/settings/save_folder.inc b/program/steps/settings/save_folder.inc index e72421282c5..ed1b09fc122 100644 --- a/program/steps/settings/save_folder.inc +++ b/program/steps/settings/save_folder.inc @@ -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; }