diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-10-05 15:28:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-05 15:28:36 +0200 |
commit | 5d39243068a3c1132f6e3020c6c9da1840f85fcf (patch) | |
tree | 99463ec52470619f031a00ae95504158f7f9f1e5 /src/Wallabag | |
parent | 2fb9caeb2de119e83cab993d4c1e7f4b81227362 (diff) | |
download | wallabag-5d39243068a3c1132f6e3020c6c9da1840f85fcf.tar.gz wallabag-5d39243068a3c1132f6e3020c6c9da1840f85fcf.tar.zst wallabag-5d39243068a3c1132f6e3020c6c9da1840f85fcf.zip |
Fix exists API call
Boo
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index 791bf80b..b2c73932 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: '.$user->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() |