X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FFilter%2FEntryFilterType.php;h=de95eed96ca82a4ee15bfcdfed02e1b482f500bd;hb=d2fcbf5d846eabb89714f4c59ff6729e2666a948;hp=11c69abdf9ea4f21ef6083fda665636ecf46b796;hpb=616f9fea26af9d9c9dd6134388811c120f1e9656;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php index 11c69abd..de95eed9 100644 --- a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php +++ b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php @@ -45,9 +45,7 @@ class EntryFilterType extends AbstractType ->add('isStarred', 'filter_checkbox') ->add('previewPicture', 'filter_checkbox', array( 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) { - $value = $values['value']; - - if (false === $value) { + if (false === $values['value']) { return; }