summaryrefslogtreecommitdiff
path: root/program/steps/mail/copy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/mail/copy.inc')
-rw-r--r--program/steps/mail/copy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/copy.inc b/program/steps/mail/copy.inc
index 5668f7c4b..86586d34d 100644
--- a/program/steps/mail/copy.inc
+++ b/program/steps/mail/copy.inc
@@ -29,7 +29,7 @@ if (!empty($_POST['_uid']) && strlen($_POST['_target_mbox'])) {
$target = rcube_utils::get_input_value('_target_mbox', rcube_utils::INPUT_POST, true);
foreach (rcmail::get_uids() as $mbox => $uids) {
- if ($mbox == $target)
+ if ($mbox === $target)
$copied++;
else
$copied += (int)$RCMAIL->storage->copy_message($uids, $target, $mbox);