From 8e965a9d276505edf58065810fe9a59ba49ddc32 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 12 Dec 2018 09:25:00 -0500 Subject: [PATCH] ApiBase: Pass empty string, not null, for $conds to ->select Bug: T211769 Change-Id: I4cf224c19b340fac5fc895bbee7507d77fd3fdfa --- includes/api/ApiBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 9ea8c6df43..d29131b6cc 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1856,7 +1856,7 @@ abstract class ApiBase extends ContextSource { 'min_id' => "MIN($field)", 'max_id' => "MAX($field)", ], - null, + '', __METHOD__ ); self::$filterIDsCache[$table][$field] = $row; -- 2.20.1