From c4cee99c7b9ac788fb132e5457acf42fb34bfb14 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Wed, 25 May 2011 22:34:51 +0200 Subject: [PATCH] MDL-27625 rating - fix one merging problem --- mod/forum/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 8c63177419c..b43997b4409 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -3544,7 +3544,7 @@ function forum_rating_validate($params) { } // upper limit - if ($info->scale < 0) { + if ($forum->scale < 0) { //its a custom scale $scalerecord = $DB->get_record('scale', array('id' => -$forum->scale)); if ($scalerecord) {