MDL-15140 get_records_list() doesn't work as in 1.9 - thanks Jerome

This commit is contained in:
skodak 2008-06-04 07:59:03 +00:00
parent f93ea22284
commit 4c14345543

View File

@ -597,7 +597,7 @@ abstract class moodle_database {
// nothing to return
return array();
}
$select = implode(" AND ", $select);
$select = implode(" OR ", $select);
return $this->get_records_select($table, $select, $params, $sort, $fields, $limitfrom, $limitnum);
}