From e56680ac7e3ed9644c25a8d05f67322b6e457015 Mon Sep 17 00:00:00 2001 From: Daniel BGomez Date: Tue, 20 Nov 2018 08:43:35 -0600 Subject: [PATCH] FIX #800 joinWhere() not using $prefix --- MysqliDb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MysqliDb.php b/MysqliDb.php index 6a119b6b..53ebd245 100644 --- a/MysqliDb.php +++ b/MysqliDb.php @@ -2421,7 +2421,7 @@ public function paginate ($table, $page, $fields = null) { */ public function joinWhere($whereJoin, $whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND') { - $this->_joinAnd[$whereJoin][] = Array ($cond, $whereProp, $operator, $whereValue); + $this->_joinAnd[self::$prefix . $whereJoin][] = Array ($cond, $whereProp, $operator, $whereValue); return $this; }