summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-10-05 12:03:36 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-10-05 12:03:36 +0200
commit3bbb65998fed43728f3e67822d81a289a8886e17 (patch)
tree822bd5ec5d109b8370c38f9bb3e5d2486af5a2dc /lib
parent8de0773214e9217d30b480609187127358c61e5a (diff)
downloadnextcloud-server-3bbb65998fed43728f3e67822d81a289a8886e17.tar.gz
nextcloud-server-3bbb65998fed43728f3e67822d81a289a8886e17.zip
Make sure all variables are defined
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share/share.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index b22b4b6a2ed..42fec03d3ae 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -1989,6 +1989,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)) {