aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-05-04 16:22:21 +0200
committerLukas Reschke <lukas@owncloud.com>2015-05-04 16:22:21 +0200
commit5c7d15b941fe919ff3b224e809294f35307625df (patch)
treeefe5ed81a9ae6e0e8771f88acc09701e1eedd07a /lib
parent59c657da5354d646cd69b58f9860b991f5b627b6 (diff)
parent50f6386c6311522ed92dec7502d5a66c2b560e01 (diff)
downloadnextcloud-server-5c7d15b941fe919ff3b224e809294f35307625df.tar.gz
nextcloud-server-5c7d15b941fe919ff3b224e809294f35307625df.zip
Merge pull request #16043 from owncloud/activity-288-log-entry-when-no-favorite
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)) {