lecterror/cakephp-filter-plugin — pull request #8 by netors (2012-10-04 20:12:12+00:00)
Title: Allow key 0 on a select filter

The empty() php function returns true if the value is 0,
so this was preventing my boolean selects to filter using the key value 0

For example I have a 'is_active' column, and I want to set up a select filter with $options = array('0'=>'Inactive','1'=>'Active') but this line was not filtering by '0' because of the empty() function being true..