MDL-18414 change sql query syntax

Author: Peter Bulmer <[email protected]>
This commit is contained in:
peterbulmer
2009-04-06 06:15:58 +00:00
parent 11b9852e4e
commit a67a5531c6
+1 -1
View File
@@ -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 .= ')';