Explorar el Código

Update: OPT string

Jinhui Zhu hace 5 años
padre
commit
eb0caed627
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
     }