MDL-27675 - Feedback module abuses data_submitted

This commit is contained in:
eLeDia GmbH (Andreas Grabs)
2012-05-28 00:40:05 +02:00
committed by Andreas Grabs
parent 9a2c4dbd00
commit 1cb73662b2
+1 -1
View File
@@ -72,7 +72,7 @@ if (isset($formdata->sesskey) AND
!isset($formdata->gonextpage) AND
!isset($formdata->gopreviouspage)) {
$gopage = $formdata->lastpage;
$gopage = (int) $formdata->lastpage;
}
if (isset($formdata->savevalues)) {
$savevalues = true;