소스 검색

Update: OPT string

Jinhui Zhu 5 년 전
부모
커밋
eb0caed627
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Driver/Base.php

+ 1 - 1
src/Driver/Base.php

@@ -768,7 +768,7 @@ class Base
             $or = join(" ". $opt . " ", $or);
         }
         if(!empty($this->where)) {
-            $this->where .= " OR (". $or . ")";
+            $this->where .= " ". $opt ." (". $or . ")";
         }
         return $this;
     }