summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authornatrak <>2001-05-23 18:36:12 +0000
committernatrak <>2001-05-23 18:36:12 +0000
commit886f653e21c4ea084103c2471e5410bc17d09d7d (patch)
tree5ab35f495bdce0a1dedc009533c9551b9d528547 /includes/common.inc
parenta28bf8f399beb290668370e93e9b35b457ff7134 (diff)
downloadbrdo-886f653e21c4ea084103c2471e5410bc17d09d7d.tar.gz
brdo-886f653e21c4ea084103c2471e5410bc17d09d7d.tar.bz2
- 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.
Diffstat (limited to 'includes/common.inc')
0 files changed, 0 insertions, 0 deletions