Commit f89e0976 authored by Yuliya Bozhko's avatar Yuliya Bozhko Committed by Aaron Wells
Browse files

Fix page error on form cancel after validation fails (Bug #1400511)

Change-Id: I63c4c566504492abb947202f8cf3ba5838770c9f
Signed-off-by: default avatarYuliya Bozhko <>
parent 20810e89
......@@ -1223,8 +1223,8 @@ function add_feedback_form_submit(Pieform $form, $values) {
function add_feedback_form_cancel_submit(Pieform $form) {
global $view;
$form->reply(PIEFORM_OK, array(
'goto' => '/' . $view->get_url(false),
$form->reply(PIEFORM_CANCEL, array(
'location' => $view->get_url(true),
Markdown is supported
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