Permalink
Browse files

MDL-27675 - Feedback module abuses data_submitted

  • Loading branch information...
1 parent 82c62bd commit d6fe3f01e0150e7dce82e317aab98c4d0e5e938e 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 d6fe3f0

Please sign in to comment.