]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15140 get_records_list() doesn't work as in 1.9 - thanks Jerome
authorskodak <skodak>
Wed, 4 Jun 2008 07:59:03 +0000 (07:59 +0000)
committerskodak <skodak>
Wed, 4 Jun 2008 07:59:03 +0000 (07:59 +0000)
lib/dml/moodle_database.php

index a574803e65290d8b4d929cda2fc17403425e3e6f..82d3b47066bb5361efcc349539b39b56e91181e7 100644 (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);
     }