Fix some Scrutinizer issues

This commit is contained in:
Jeremy Benoist
2019-05-29 12:00:23 +02:00
parent e9579d6de9
commit 52e8d93248
5 changed files with 7 additions and 7 deletions

View File

@ -564,7 +564,7 @@ class EntryRestController extends WallabagRestController
}
// if refreshing entry failed, don't save it
if ($this->getParameter('wallabag_core.fetching_error_message') === $entry->getContent()) {
if ($this->container->getParameter('wallabag_core.fetching_error_message') === $entry->getContent()) {
return new JsonResponse([], 304);
}