ApiQueryBase: Fix addWhereFld for PHP 7.2
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 8 Dec 2017 16:46:58 +0000 (11:46 -0500)
committerReedy <reedy@wikimedia.org>
Fri, 8 Dec 2017 17:44:19 +0000 (17:44 +0000)
commitf938f15bea1a27f098fc7a0f93673adba31d2efe
treed6545ebd010430c42cfde09b616d4782bd76494d
parent370bd11d455e24eec056f518601bc197ecac4c30
ApiQueryBase: Fix addWhereFld for PHP 7.2

Idfe23a07d didn't go far enough with this method, it can be passed
arbitrary other scalars in addition to null and arrays.

Bug: T182377
Change-Id: I63ec23f70d6d7ad638aa382b740ec44d0ca47f85
includes/api/ApiQueryBase.php