Kaynağa Gözat

Fixed where condition

朱金辉 5 ay önce
ebeveyn
işleme
e62e694aa8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;