mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
MDL-27625 rating - fix one merging problem
This commit is contained in:
parent
f2e725930b
commit
c4cee99c7b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user