diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-05 12:48:36 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-05 12:48:36 +0200 |
commit | 4dfae96dcdfba93a8b03db2d0422766b20adf77d (patch) | |
tree | 64c989a18f2ac892606f7cea00c15d8d17402a73 /program/steps/mail/mark.inc | |
parent | 443b92a7ee19e321b350750240e0fc54ec5be357 (diff) |
Fix copying messages to a folder with "empty" name e.g. "0", better error handling
Diffstat (limited to 'program/steps/mail/mark.inc')
-rw-r--r-- | program/steps/mail/mark.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/program/steps/mail/mark.inc b/program/steps/mail/mark.inc index c220fc5c4..dfc892ea1 100644 --- a/program/steps/mail/mark.inc +++ b/program/steps/mail/mark.inc @@ -113,7 +113,7 @@ if (($uids = get_input_value('_uid', RCUBE_INPUT_POST)) && ($flag = get_input_va $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($msg_count), $mbox); if ($threading) { - $count = get_input_value('_count', RCUBE_INPUT_POST); + $count = get_input_value('_count', RCUBE_INPUT_POST); } // add new rows from next page (if any) @@ -125,9 +125,9 @@ if (($uids = get_input_value('_uid', RCUBE_INPUT_POST)) && ($flag = get_input_va } } } - - $OUTPUT->send(); +} +else { + $OUTPUT->show_message('internalerror', 'error'); } -exit; - +$OUTPUT->send(); |