mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-14679 DML conversion regression
This commit is contained in:
parent
b229ac31b1
commit
878af9ade6
@ -29,7 +29,7 @@
|
||||
print_header($strscales);
|
||||
|
||||
if ($scaleid) {
|
||||
if ($scale = get_record("scale", 'id', $scaleid)) {
|
||||
if ($scale = $DB->get_record("scale", array('id'=>$scaleid))) {
|
||||
if ($scale->courseid == 0 || $scale->courseid == $course->id) {
|
||||
|
||||
$scalemenu = make_menu_from_list($scale->scale);
|
||||
|
Loading…
x
Reference in New Issue
Block a user