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:
parent
872ac17dbc
commit
05b73f58ae
1 changed files with 1 additions and 1 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in a new issue