MDL-18414 change sql query syntax
Author: Peter Bulmer <[email protected]>
This commit is contained in:
@@ -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 .= ')';
|
||||
|
||||
Reference in New Issue
Block a user