-
- 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.
parent
a28bf8f3
No related branches found
No related tags found
Please register or sign in to comment