mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
cleaning of parameter name before use SC#188; merged from MOODLE_15_STABLE
This commit is contained in:
parent
550c8b9cc2
commit
84d8c4086e
@ -36,6 +36,7 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
$postid = (int)$postid;
|
||||
$lastpostid = $postid;
|
||||
|
||||
if ($oldrating = get_record("forum_ratings", "userid", $USER->id, "post", $postid)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user