[Pkg-owncloud-commits] [owncloud] 32/86: Make sure all variables are defined

David Prévot taffit at moszumanska.debian.org
Tue Dec 22 16:51:56 UTC 2015


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

taffit pushed a commit to annotated tag v8.1.5
in repository owncloud.

commit a85cf1caf7afc011c66ef40e3a37d4a83e2588d4
Author: Joas Schilling <nickvergessen at owncloud.com>
Date:   Mon Oct 5 12:03:36 2015 +0200

    Make sure all variables are defined
---
 lib/private/share/share.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index a6079c7..4dd92ac 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1942,6 +1942,8 @@ class Share extends Constants {
 
 		$queriesToExecute = array();
 		$suggestedItemTarget = null;
+		$groupFileTarget = $fileTarget = $suggestedFileTarget = $filePath = '';
+		$groupItemTarget = $itemTarget = $fileSource = $parent = 0;
 
 		$result = self::checkReshare($itemType, $itemSource, $shareType, $shareWith, $uidOwner, $permissions, $itemSourceName, $expirationDate);
 		if(!empty($result)) {

-- 
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