summaryrefslogtreecommitdiff
path: root/program/steps/mail/move_del.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-05 12:48:36 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-05 12:48:36 +0200
commit4dfae96dcdfba93a8b03db2d0422766b20adf77d (patch)
tree64c989a18f2ac892606f7cea00c15d8d17402a73 /program/steps/mail/move_del.inc
parent443b92a7ee19e321b350750240e0fc54ec5be357 (diff)
Fix copying messages to a folder with "empty" name e.g. "0", better error handling
Diffstat (limited to 'program/steps/mail/move_del.inc')
-rw-r--r--program/steps/mail/move_del.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc
index 3fc6ac5a7..e21ba2c6b 100644
--- a/program/steps/mail/move_del.inc
+++ b/program/steps/mail/move_del.inc
@@ -74,6 +74,8 @@ else if ($RCMAIL->action=='delete' && !empty($_POST['_uid'])) {
}
// unknown action or missing query param
else {
+ $OUTPUT->show_message('internalerror', 'error');
+ $OUTPUT->send();
exit;
}