summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-04 14:46:18 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-05-04 16:19:26 +0200
commit50f6386c6311522ed92dec7502d5a66c2b560e01 (patch)
tree5b64ec524ec180d34d63b6bb2a51571c06281bdd /lib
parent17fedc80dac7acd3d85f1f132455e94d4fd920c6 (diff)
downloadnextcloud-server-50f6386c6311522ed92dec7502d5a66c2b560e01.tar.gz
nextcloud-server-50f6386c6311522ed92dec7502d5a66c2b560e01.zip
Fix undefined variable $tagId
Diffstat (limited to 'lib')
-rw-r--r--lib/private/tags.php1
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)) {