diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-06 16:46:44 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-06 16:46:44 -0400 |
commit | 5e95e2a13121037aab09ddcddb60c79cf7057c88 (patch) | |
tree | e4332d74ec1803d29632463de2c3ae4318bb6329 /lib | |
parent | 1b21cde2b3c10b8a4756325039745f1ea9024769 (diff) | |
download | nextcloud-server-5e95e2a13121037aab09ddcddb60c79cf7057c88.tar.gz nextcloud-server-5e95e2a13121037aab09ddcddb60c79cf7057c88.zip |
Set filePath variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/share.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index df5ad82d7fd..6da422402c5 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -629,7 +629,7 @@ class Share { $parent = $checkReshare['id']; $itemSource = $checkReshare['item_source']; $fileSource = $checkReshare['file_source']; - $fileTarget = $checkReshare['file_target']; + $filePath = $checkReshare['file_target']; } else { $message = 'Sharing '.$itemSource.' failed, because resharing is not allowed'; \OC_Log::write('OCP\Share', $message, \OC_Log::ERROR); @@ -653,6 +653,7 @@ class Share { throw new \Exception($message); } } else { + $filePath = null; $fileSource = null; } } |