Skip to content

Commit 05c2463

Browse files
committed
Avoid late php api usage
1 parent ce7d9e8 commit 05c2463

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MysqliDb.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,9 @@ protected function _buildQuery($numRows = null, $tableData = null)
619619
//Prepair the where portion of the query
620620
$this->_query .= ' WHERE ';
621621
$i = 0;
622-
foreach ($this->_where as list($concat, $wValue, $wKey)) {
622+
foreach ($this->_where as $cond) {
623+
list ($concat, $wValue, $wKey) = $cond;
624+
623625
// if its not a first condition insert its concatenator (AND or OR)
624626
if ($i++ != 0)
625627
$this->_query .= " $concat ";

0 commit comments

Comments
 (0)