朱金辉 пре 5 месеци
родитељ
комит
e62e694aa8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Driver/Entity/Base.php

+ 1 - 1
src/Driver/Entity/Base.php

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