mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-34159 - add comment lost from previous commit
This commit is contained in:
parent
4afbd0c834
commit
f5d7fe4c9e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue