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