Permalink
Browse files

cleaning of parameter name before use SC#188

  • Loading branch information...
1 parent c8a38c8 commit ace997757845b0e6dfed45d546c0464e839afb65 skodak committed Nov 15, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/forum/rate.php
View
@@ -36,6 +36,7 @@
continue;
}
+ $postid = (int)$postid;
$lastpostid = $postid;
if ($oldrating = get_record("forum_ratings", "userid", $USER->id, "post", $postid)) {

0 comments on commit ace9977

Please sign in to comment.