Permalink
Browse files

MDL-27675 - Feedback module abuses data_submitted

  • Loading branch information...
1 parent 9a2c4db commit 1cb73662b22a4516ab432ea2719bbbdd3f2610c0 eLeDia GmbH (Andreas Grabs) committed with grabs May 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/feedback/complete_guest.php
@@ -72,7 +72,7 @@
!isset($formdata->gonextpage) AND
!isset($formdata->gopreviouspage)) {
- $gopage = $formdata->lastpage;
+ $gopage = (int) $formdata->lastpage;
}
if (isset($formdata->savevalues)) {
$savevalues = true;

0 comments on commit 1cb7366

Please sign in to comment.