In the service class's preQuery() method, you use $keys = $query->getOriginalKeys(); to retrieve the unparsed keys, so you can lowercase them if necessary.
However, the original keys might already be an array – they are what is passed to the query's keys() method, and already parsed keys are allowed there.
You should therefore at least check if the return value is really a string before using preg_match on it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2117613-1--original_keys.patch | 866 bytes | drunken monkey |
Comments
Comment #1
drunken monkeyPatch attached.
Comment #2
nick_vhThanks! Committed