mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-18414 change sql query syntax
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
This commit is contained in:
parent
11b9852e4e
commit
a67a5531c6
@ -149,7 +149,7 @@ class enrolment_plugin_mnet {
|
||||
|
||||
|
||||
if (!empty($CFG->enrol_mnet_allowed_courses)) {
|
||||
$where .= " OR co.id in ('{$CFG->enrol_mnet_allowed_courses}') ";
|
||||
$where .= " OR co.id in ({$CFG->enrol_mnet_allowed_courses}) ";
|
||||
}
|
||||
|
||||
$where .= ')';
|
||||
|
Loading…
x
Reference in New Issue
Block a user