Skip to content
Discussion options

You must be logged in to vote

For me in:

$query->where($key, $condition['operator'] || 'LIKE', $value, 'and');

this part $condition['operator'] || 'LIKE' is invalid. It probably always returns true. Instead it should be probably something like $condition['operator'] ?? 'LIKE'

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by BrokenR3C0RD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants