Merge pull request #16043 from owncloud/activity-288-log-entry-when-no-favorite

Fix undefined variable $tagId
This commit is contained in:
Lukas Reschke 2015-05-04 16:22:21 +02:00
commit 5c7d15b941
1 changed files with 1 additions and 0 deletions

View File

@ -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)) {