summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-24 08:18:12 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-24 08:18:12 +0000
commitf053d5a51dc120d64c46cb579696d700e5e33da9 (patch)
tree12296f0c9b507260c54a5688d073ef780a0ba861 /roundcubemail/program/steps/mail
parent67647671297750ebf99fae9ddd1d934c7919bffe (diff)
- removed unnecessary counting
git-svn-id: https://svn.roundcube.net/trunk@3407 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/copy.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/copy.inc b/roundcubemail/program/steps/mail/copy.inc
index e2270a75f..91d4e90a7 100644
--- a/roundcubemail/program/steps/mail/copy.inc
+++ b/roundcubemail/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;