ソースを参照

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