pippinsplugins/bbp-admin-notes — pull request #6 by markjaquith (2014-01-09 05:10:17+00:00)
Title: Defensive coding when constructing WHERE clauses

Adds some defensive coding against the possibility of there being empty `WHERE` clauses which would cause the query to fail.

Probably unnecessary, but poka-yoke, y'all!

Also, you don't have to use `prepare()` when you're passing in a static string. Just for variable things.