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) {
|
public function getIdsForTag($tag) {
|
||||||
$result = null;
|
$result = null;
|
||||||
|
$tagId = false;
|
||||||
if(is_numeric($tag)) {
|
if(is_numeric($tag)) {
|
||||||
$tagId = $tag;
|
$tagId = $tag;
|
||||||
} elseif(is_string($tag)) {
|
} elseif(is_string($tag)) {
|
||||||
|
|
Loading…
Reference in New Issue