ソースを参照

Fix filter bug on empty value

Thomas Rabaix 14 年 前
コミット
3efab485ba
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Filter/ORM/ChoiceFilter.php

+ 1 - 1
Filter/ORM/ChoiceFilter.php

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