db API
Submitted by freeman on Mon, 04/05/2010 - 15:40
Ran into a good one this morning. You know, one of those bugs where after three hours you've isolated the problem down to a single line of obviously well-written and demonstrably correct code.
So after spending another hour or so re-running unit tests while I questioned my sanity I finally figured out what the problem was: db_query() doesn't play nice if you try to do straight %s substitution of an array into a query.
- freeman's blog
- Login or register to post comments
- Read more
Submitted by freeman on Wed, 01/20/2010 - 13:03
OR adventures in unintentionally case sensitive autocomplete fields
