Fix undefined variable $tagId
This commit is contained in:
parent
17fedc80da
commit
50f6386c63
|
@ -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