Browse Source

Fix filter bug on empty value

Thomas Rabaix 14 years ago
parent
commit
3efab485ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Filter/ORM/ChoiceFilter.php

+ 1 - 1
Filter/ORM/ChoiceFilter.php

@@ -33,7 +33,7 @@ class ChoiceFilter extends Filter
             ), $value));
             ), $value));
         } else {
         } else {
 
 
-            if ($value === null || $value == 'all') {
+            if (empty($value) || $value == 'all') {
                 return;
                 return;
             }
             }