summaryrefslogtreecommitdiff
path: root/program/steps/mail/copy.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-24 08:18:12 +0000
committeralecpl <alec@alec.pl>2010-03-24 08:18:12 +0000
commit1c9bd8c72e7675ee886a447b6b204a436a027218 (patch)
treecdbc64f8d80a76b14db978c5738c9698f4e516ff /program/steps/mail/copy.inc
parent9224c8a4cb4f78cc86a7339d472e35e741aff754 (diff)
- removed unnecessary counting
Diffstat (limited to 'program/steps/mail/copy.inc')
-rw-r--r--program/steps/mail/copy.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/copy.inc b/program/steps/mail/copy.inc
index e2270a75f..91d4e90a7 100644
--- a/program/steps/mail/copy.inc
+++ b/program/steps/mail/copy.inc
@@ -29,7 +29,7 @@ $old_pages = ceil($old_count / $IMAP->page_size);
// move messages
if (!empty($_POST['_uid']) && !empty($_POST['_target_mbox'])) {
- $count = sizeof(explode(',', ($uids = get_input_value('_uid', RCUBE_INPUT_POST))));
+ $uids = get_input_value('_uid', RCUBE_INPUT_POST);
$target = get_input_value('_target_mbox', RCUBE_INPUT_POST);
$mbox = get_input_value('_mbox', RCUBE_INPUT_POST);
@@ -37,8 +37,8 @@ if (!empty($_POST['_uid']) && !empty($_POST['_target_mbox'])) {
if (!$copied) {
// send error message
- if ($_POST['_from'] != 'show')
- $OUTPUT->command('list_mailbox');
+ if ($_POST['_from'] != 'show')
+ $OUTPUT->command('list_mailbox');
$OUTPUT->show_message('errorcopying', 'error');
$OUTPUT->send();
exit;