diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-05 12:48:36 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-05 15:00:57 +0200 |
commit | d2d8d498c67e7193dcdcebe7d806753ec02843fd (patch) | |
tree | 883baec73071decf3531712aacc94c4451c593ab /program/steps/mail/mark.inc | |
parent | e152227571fb5ae9fc5c800ac27efcd0242e94c4 (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(); |