Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27675 - Feedback module abuses data_submitted

  • Loading branch information...
commit 7a7287ef287c378a08c37fed4f87b5c396cbd928 1 parent 0efa998
Andreas Grabs authored grabs committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/feedback/complete_guest.php
2  mod/feedback/complete_guest.php
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.