From 549494d0e03878398035bedd5c6ffcb5ca61c736 Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Wed, 25 Nov 2015 01:46:54 +0300 Subject: [PATCH] fix a typo --- MysqliDb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }