Merge pull request #16043 from owncloud/activity-288-log-entry-when-no-favorite
Fix undefined variable $tagId
This commit is contained in:
commit
5c7d15b941
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue