joebeeson/lithium — comment on commit 1bb901c8047fd673166daba2fb12f1afea139f3f
File:  line 0
By joebeeson:

Despite what the documentation says for `filter_var`, the `FILTER_NULL_ON_FAILURE` doesn't correctly handle empty strings. The issue is [referenced here](https://bugs.php.net/bug.php?id=49510) (_look at the message on 2009-09-10 08:53 UTC_) -- this change adds a third check to see if the value is empty and, if so, overriding the problem with `filter_var`