This commit is contained in:
Thomas Citharel
2016-06-25 19:25:50 +02:00
committed by Jeremy Benoist
parent 4da01f492b
commit 9bf83f1fb8
2 changed files with 5 additions and 6 deletions

View File

@ -367,7 +367,7 @@ class WallabagRestController extends FOSRestController
public function deleteTagLabelAction(Request $request)
{
$this->validateAuthentication();
$label = $request->query->get('tag','');
$label = $request->query->get('tag', '');
$tag = $this->getDoctrine()->getRepository('WallabagCoreBundle:Tag')->findOneByLabel($label);
$this->getDoctrine()
@ -412,7 +412,6 @@ class WallabagRestController extends FOSRestController
return $this->renderJsonResponse($json);
}
/**
* Retrieve version number.
*