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; }