朱金辉 преди 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;