From 50f6386c6311522ed92dec7502d5a66c2b560e01 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 4 May 2015 14:46:18 +0200 Subject: [PATCH] Fix undefined variable $tagId --- lib/private/tags.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/tags.php b/lib/private/tags.php index 6edd7b2f98..09cb7618c0 100644 --- a/lib/private/tags.php +++ b/lib/private/tags.php @@ -257,6 +257,7 @@ class Tags implements \OCP\ITags { */ public function getIdsForTag($tag) { $result = null; + $tagId = false; if(is_numeric($tag)) { $tagId = $tag; } elseif(is_string($tag)) {