aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
index b2c73932..a0d9d4f3 100644
--- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
@@ -40,7 +40,7 @@ class WallabagRestController extends FOSRestController
40 $url = $request->query->get('url', ''); 40 $url = $request->query->get('url', '');
41 41
42 if (empty($url)) { 42 if (empty($url)) {
43 throw $this->createAccessDeniedException('URL is empty?, logged user id: '.$this->getUser->getId()); 43 throw $this->createAccessDeniedException('URL is empty?, logged user id: '.$this->getUser()->getId());
44 } 44 }
45 45
46 $res = $this->getDoctrine() 46 $res = $this->getDoctrine()