- Added the replace keyword

This commit is contained in:
Dave Mc Nicoll committed 2021-08-02 15:13:17 +00:00
1 parent 7fb591e1f5
commit 0453e9cbc5
4 files changed
+45 -17

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ class Where extends Fragment {
}
# whitelisting operators
return in_array(strtoupper($this->operator), [ '=', '!=', '<>', 'LIKE', 'IS', 'IS NOT' ]) ? $this->operator : "=";
return in_array(strtoupper($this->operator), [ '=', '!=', '>', '>=', '<', '<=', '<>', 'LIKE', 'IS', 'IS NOT' ]) ? $this->operator : "=";
}
protected function value()