From: skodak Date: Wed, 4 Jun 2008 07:59:03 +0000 (+0000) Subject: MDL-15140 get_records_list() doesn't work as in 1.9 - thanks Jerome X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4c143455436ba558af361dfb83dc006b1a7e9bae;p=moodle.git MDL-15140 get_records_list() doesn't work as in 1.9 - thanks Jerome --- diff --git a/lib/dml/moodle_database.php b/lib/dml/moodle_database.php index a574803e65..82d3b47066 100644 --- a/lib/dml/moodle_database.php +++ b/lib/dml/moodle_database.php @@ -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); }