From f5d7fe4c9eddebf2e581ef30229c61e2a0c8ece7 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 10 Jul 2012 12:58:46 +0800 Subject: [PATCH] MDL-34159 - add comment lost from previous commit --- lib/dml/moodle_database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dml/moodle_database.php b/lib/dml/moodle_database.php index e51a5e1496c..4fa3ca432c9 100644 --- a/lib/dml/moodle_database.php +++ b/lib/dml/moodle_database.php @@ -575,7 +575,7 @@ abstract class moodle_database { */ protected function where_clause_list($field, array $values) { if (empty($values)) { - return array("1 = 2", array()); + return array("1 = 2", array()); // Fake condition, won't return rows ever. MDL-17645 } // Note: Do not use get_in_or_equal() because it can not deal with bools and nulls.