Commit 55f3b731 authored by Yuliya Bozhko's avatar Yuliya Bozhko Committed by Gerrit Code Review
Browse files

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

Change-Id: I63c4c566504492abb947202f8cf3ba5838770c9f
Signed-off-by: default avatarYuliya Bozhko <>
parent 2649e660
......@@ -1301,8 +1301,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