소스 검색

Fixed where condition

朱金辉 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;