Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-05-07 20:36:29 +0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-05-07 20:36:29 +0400
commitbf8b3b0696cc59021309fea7fc578977d4aa52de (patch)
tree9d671f8c2ef09929dfadc9c22dcfcc38699179c1 /apps
parent52d113b9e100aed627f0f2a6514d8e1359045225 (diff)
Forgot to set token variable
Diffstat (limited to 'apps')
-rwxr-xr-xapps/files_sharing/get.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index f430c12a9c2..59a4efba6a6 100755
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -6,6 +6,7 @@ require_once 'lib_share.php';
//get the path of the shared file
if (isset($_GET['token']) && $source = OC_Share::getSource($_GET['token'])) {
+ $token = $_GET['token'];
// TODO Manipulating the string may not be the best choice. Is there an alternative?
$user = substr($source, 1, strpos($source, "/", 1) - 1);
OC_Util::setupFS($user);