|
@@ -176,7 +176,7 @@ class Base {
|
|
|
final public function where($where, $args = null) {
|
|
|
$this->setWhereHooker(function($w) use($where){
|
|
|
if(is_array($where)) {
|
|
|
- $w = array_merge($w, $condition);
|
|
|
+ $w = array_merge($w, $where);
|
|
|
return $w;
|
|
|
}
|
|
|
return $where;
|