Commit f11ccc93 authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

comment: exit from add_feedback_form_submit in case of quota exception



Missing redirection.
Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent 461c86db
......@@ -889,6 +889,7 @@ function add_feedback_form_submit(Pieform $form, $values) {
if ($data->owner == $USER->get('id')) {
$form->reply(PIEFORM_ERR, array('message' => $e->getMessage()));
}
redirect($goto);
}
catch (UploadException $e) {
$form->reply(PIEFORM_ERR, array('message' => $e->getMessage()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment