- Fixed some missing operators in Having query

This commit is contained in:
Dave M. 2026-07-17 10:10:37 -04:00
parent 9062a73ee6
commit caf5bd9664

View File

@ -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()