diff --git a/MysqliDb.php b/MysqliDb.php index 8d93a3ba..deb9487e 100644 --- a/MysqliDb.php +++ b/MysqliDb.php @@ -1226,7 +1226,7 @@ protected function _buildJoin() } $this->_query .= " " . $joinType . " JOIN " . $joinStr . - (false === stripos('using', $joinCondition) ? " " : " on ") + (false !== stripos($joinCondition, 'using') ? " " : " on ") . $joinCondition; } }