cleaning of parameter name before use SC#188; merged from MOODLE_15_STABLE

This commit is contained in:
skodak 2005-11-15 21:49:30 +00:00
parent 550c8b9cc2
commit 84d8c4086e

View File

@ -36,6 +36,7 @@
continue;
}
$postid = (int)$postid;
$lastpostid = $postid;
if ($oldrating = get_record("forum_ratings", "userid", $USER->id, "post", $postid)) {