diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/WallabagRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php index f77a3749..27d11da5 100644 --- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php | |||
@@ -68,7 +68,7 @@ class WallabagRestController extends Controller | |||
68 | ->getRepository('WallabagCoreBundle:Entry') | 68 | ->getRepository('WallabagCoreBundle:Entry') |
69 | ->findEntries($this->getUser()->getId(), $isArchived, $isStarred, $isDeleted, $sort, $order); | 69 | ->findEntries($this->getUser()->getId(), $isArchived, $isStarred, $isDeleted, $sort, $order); |
70 | 70 | ||
71 | if (!is_array($entries)) { | 71 | if (!($entries)) { |
72 | throw $this->createNotFoundException(); | 72 | throw $this->createNotFoundException(); |
73 | } | 73 | } |
74 | 74 | ||