Permalink
Browse files

MDL-27675 - Feedback module abuses data_submitted

  • Loading branch information...
1 parent 0efa998 commit 7a7287ef287c378a08c37fed4f87b5c396cbd928 Andreas Grabs committed with grabs May 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/feedback/complete_guest.php
@@ -54,7 +54,7 @@
//if the use hit enter into a textfield so the form should not submit
if(isset($formdata->sesskey) AND !isset($formdata->savevalues) AND !isset($formdata->gonextpage) AND !isset($formdata->gopreviouspage)) {
- $gopage = $formdata->lastpage;
+ $gopage = (int)$formdata->lastpage;
}
if(isset($formdata->savevalues)) {
$savevalues = true;

0 comments on commit 7a7287e

Please sign in to comment.