-
- Downloads
- Fixed a "bug" with in_array. Behaves strangely when the key is of type long.
When $field was 0 it would return true, causing SQL errors. Seems to convert the string its being matched with to a numeric, normally 0. Forced $field to be treated as a string by enclosing it in quotes.
Loading
Please register or sign in to comment