1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Fix stupid error in Lisk introduced in D990

Summary:
I added some type checks in D990 to make sure $columns is an array, but was
overzealous and forgot that loadRawDataWhere needs to be able to take null
as $columns.

Test Plan:
Loaded phabricator and saw the error "Argument 1 passed to LiskDAO::loadRawDataWhere() must be an instance of array, null given" go away

Reviewers: epriestley

CC:

Differential Revision: 991
This commit is contained in:
Nicholas Harper 2011-10-07 15:56:21 -07:00
parent 872ac17dbc
commit 05b73f58ae

View file

@ -450,7 +450,7 @@ abstract class LiskDAO {
}
protected function loadRawDataWhere(array $columns, $pattern/*, $args... */) {
protected function loadRawDataWhere($columns, $pattern/*, $args... */) {
$connection = $this->establishConnection('r');
$lock_clause = '';