From bf8b3b0696cc59021309fea7fc578977d4aa52de Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Mon, 7 May 2012 12:36:29 -0400 Subject: [PATCH] Forgot to set token variable --- apps/files_sharing/get.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5