aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/WallabagRestController.php')
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
index 8eaff5f6..43225149 100644
--- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
@@ -367,7 +367,7 @@ class WallabagRestController extends FOSRestController
367 public function deleteTagLabelAction(Request $request) 367 public function deleteTagLabelAction(Request $request)
368 { 368 {
369 $this->validateAuthentication(); 369 $this->validateAuthentication();
370 $label = $request->query->get('tag',''); 370 $label = $request->query->get('tag', '');
371 371
372 $tag = $this->getDoctrine()->getRepository('WallabagCoreBundle:Tag')->findOneByLabel($label); 372 $tag = $this->getDoctrine()->getRepository('WallabagCoreBundle:Tag')->findOneByLabel($label);
373 $this->getDoctrine() 373 $this->getDoctrine()
@@ -412,7 +412,6 @@ class WallabagRestController extends FOSRestController
412 return $this->renderJsonResponse($json); 412 return $this->renderJsonResponse($json);
413 } 413 }
414 414
415
416 /** 415 /**
417 * Retrieve version number. 416 * Retrieve version number.
418 * 417 *