polyfony-inc/polyfony

Query->whereNull() is broken, due to empty PDO parameter injection

Closed this issue · 0 comments

It's been broken for at least 4 years.

$q->whereNull() it adds a parameter with an empty value. But there is no placeholder added to the prepared query, and none is actually necessary.