Commit eaf1f6cc authored by Daniel BGomez's avatar Daniel BGomez Committed by Alexander Butenko

FIX #800 joinWhere() not using $prefix (#801)

parent 309b6995
......@@ -2421,7 +2421,7 @@ class MysqliDb
*/
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment