MDL-18227 - Ignoring all non numeric rates.

This commit is contained in:
stronk7
2009-02-13 11:02:12 +00:00
parent 5aa35fd087
commit 168bbfa435
+1 -1
View File
@@ -47,7 +47,7 @@
$scale_values = make_grades_menu($forum->scale);
foreach ((array)$data as $postid => $rating) {
if ($postid == "id") {
if (!is_numeric($postid)) {
continue;
}