diff options
-rw-r--r-- | lib/private/tags.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/tags.php b/lib/private/tags.php index 6edd7b2f980..09cb7618c02 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)) { |