Compare commits
2 Commits
e5a842a812
...
caf5bd9664
| Author | SHA1 | Date | |
|---|---|---|---|
| caf5bd9664 | |||
| 9062a73ee6 |
@ -10,12 +10,12 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"mcnd/notes": "dev-master"
|
||||
"mcnd/notes": "^2.1.1"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "https://github.com/mcNdave/notes.git"
|
||||
"type": "composer",
|
||||
"url": "https://git.mcnd.ca/api/packages/mcndave/composer"
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
|
||||
@ -106,7 +106,7 @@ class Having extends Fragment {
|
||||
}
|
||||
|
||||
# whitelisting operators
|
||||
return in_array(strtoupper($this->operator), [ '=', '!=', '<>', 'LIKE' ]) ? $this->operator : "=";
|
||||
return in_array(strtoupper($this->operator), [ '=', '!=', '>', '>=', '<', '<=', '<>', 'LIKE', 'IS', 'IS NOT', 'REGEXP', 'IN' ]) ? $this->operator : "=";
|
||||
}
|
||||
|
||||
protected function value()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user