diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-29 12:00:23 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-29 12:50:44 +0200 |
commit | 52e8d93248c6f47ccb98abc973fcd230b29fee6c (patch) | |
tree | 297e753bf38491cdce4360372ce298ab8060f3b6 /src/Wallabag/ApiBundle/Controller/EntryRestController.php | |
parent | e9579d6de9ea99522e5905e8bb827e858c8da1fc (diff) | |
download | wallabag-52e8d93248c6f47ccb98abc973fcd230b29fee6c.tar.gz wallabag-52e8d93248c6f47ccb98abc973fcd230b29fee6c.tar.zst wallabag-52e8d93248c6f47ccb98abc973fcd230b29fee6c.zip |
Fix some Scrutinizer issues
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/EntryRestController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/EntryRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php index aaacdcdc..9f933adb 100644 --- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php +++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php | |||
@@ -564,7 +564,7 @@ class EntryRestController extends WallabagRestController | |||
564 | } | 564 | } |
565 | 565 | ||
566 | // if refreshing entry failed, don't save it | 566 | // if refreshing entry failed, don't save it |
567 | if ($this->getParameter('wallabag_core.fetching_error_message') === $entry->getContent()) { | 567 | if ($this->container->getParameter('wallabag_core.fetching_error_message') === $entry->getContent()) { |
568 | return new JsonResponse([], 304); | 568 | return new JsonResponse([], 304); |
569 | } | 569 | } |
570 | 570 | ||