diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2019-02-13 15:05:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-13 15:05:57 +0100 |
commit | b1992b340e21b6846a1ec2ae6ddd7217f3b24fb5 (patch) | |
tree | c8c5ab6b1354782c82139a12372c3532001124fd /src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php | |
parent | 47e47841105a34c852744e207b4a0ea9e879ec49 (diff) | |
parent | 44560c77677d1d2a0eda0bf63f56c9dff033744f (diff) | |
download | wallabag-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.php | 2 |
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 | ||