MDL-18414 change sql query syntax

Author: Peter Bulmer <[email protected]>
This commit is contained in:
peterbulmer
2009-04-06 06:21:27 +00:00
parent 79b35f3866
commit 55ea2fb983
+1 -1
View File
@@ -151,7 +151,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 .= ')';