Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
b17d372e
Commit
b17d372e
authored
Dec 11, 2014
by
Aaron Wells
Committed by
Gerrit Code Review
Dec 11, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Fix page error on form cancel after validation fails (Bug #1400511)"
parents
f064d60e
55f3b731
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
htdocs/artefact/comment/lib.php
htdocs/artefact/comment/lib.php
+2
-2
No files found.
htdocs/artefact/comment/lib.php
View file @
b17d372e
...
...
@@ -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
(
fals
e
),
$form
->
reply
(
PIEFORM_
CANCEL
,
array
(
'
location'
=>
$view
->
get_url
(
tru
e
),
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment