Fix undefined variable $tagId

This commit is contained in:
Joas Schilling 2015-05-04 14:46:18 +02:00
parent 17fedc80da
commit 50f6386c63
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)) {