aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2019-02-13 15:05:57 +0100
committerGitHub <noreply@github.com>2019-02-13 15:05:57 +0100
commitb1992b340e21b6846a1ec2ae6ddd7217f3b24fb5 (patch)
treec8c5ab6b1354782c82139a12372c3532001124fd /src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
parent47e47841105a34c852744e207b4a0ea9e879ec49 (diff)
parent44560c77677d1d2a0eda0bf63f56c9dff033744f (diff)
downloadwallabag-b1992b340e21b6846a1ec2ae6ddd7217f3b24fb5.tar.gz
wallabag-b1992b340e21b6846a1ec2ae6ddd7217f3b24fb5.tar.zst
wallabag-b1992b340e21b6846a1ec2ae6ddd7217f3b24fb5.zip
Merge pull request #3882 from wallabag/fix/cors
Fix CORS for API
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
index 702c7f7a..37d0640a 100644
--- a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php
@@ -108,7 +108,7 @@ class EntryFilterType extends AbstractType
108 ->add('httpStatus', TextFilterType::class, [ 108 ->add('httpStatus', TextFilterType::class, [
109 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) { 109 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) {
110 $value = $values['value']; 110 $value = $values['value'];
111 if (false === array_key_exists($value, Response::$statusTexts)) { 111 if (false === \array_key_exists($value, Response::$statusTexts)) {
112 return; 112 return;
113 } 113 }
114 114