[Pkg-owncloud-commits] [owncloud] 46/122: Fix undefined variable $tagId

David Prévot taffit at moszumanska.debian.org
Sat May 9 00:00:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 50f6386c6311522ed92dec7502d5a66c2b560e01
Author: Joas Schilling <nickvergessen at owncloud.com>
Date:   Mon May 4 14:46:18 2015 +0200

    Fix undefined variable $tagId
---
 lib/private/tags.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/tags.php b/lib/private/tags.php
index 6edd7b2..09cb761 100644
--- a/lib/private/tags.php
+++ b/lib/private/tags.php
@@ -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)) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list