فهرست منبع

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