summaryrefslogtreecommitdiff
path: root/program/steps/mail/move_del.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-13 17:57:37 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-13 17:57:37 +0200
commit24e63e22188678407b180944f4c7bb9f494f09ee (patch)
tree32c4afc7abce7f2db1e3870fa89ab688b0560b93 /program/steps/mail/move_del.inc
parenta5949991351c70eb462f779368ceb0efbeea14fb (diff)
Fix deleting/moving folders from folders with name "0", "00", etc.
Diffstat (limited to 'program/steps/mail/move_del.inc')
-rw-r--r--program/steps/mail/move_del.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc
index 9c1acd5d2..c29985875 100644
--- a/program/steps/mail/move_del.inc
+++ b/program/steps/mail/move_del.inc
@@ -37,7 +37,7 @@ if ($RCMAIL->action == 'move' && !empty($_POST['_uid']) && strlen($_POST['_targe
$success = true;
foreach (rcmail::get_uids() as $mbox => $uids) {
- if ($mbox == $target) {
+ if ($mbox === $target) {
$count += count($uids);
}
else if ($RCMAIL->storage->move_message($uids, $target, $mbox)) {