Merge branch 'master_MDL-35557' of git://github.com/danmarsden/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2012-10-02 20:26:32 +02:00
+1 -1
View File
@@ -641,7 +641,7 @@ class enrol_database_plugin extends enrol_plugin {
if ($idnumber) {
$sqlfields[] = $idnumber;
}
$sql = $this->db_get_sql($table, array(), $sqlfields);
$sql = $this->db_get_sql($table, array(), $sqlfields, true);
$createcourses = array();
if ($rs = $extdb->Execute($sql)) {
if (!$rs->EOF) {