From bec0830e5906db47b7db385378c66ffedacae593 Mon Sep 17 00:00:00 2001 From: Alex Aragon Date: Tue, 10 May 2016 15:29:09 -0500 Subject: [PATCH] fix document download line 59 --- main/document/download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/document/download.php b/main/document/download.php index 0aa99da048..956b4e800b 100755 --- a/main/document/download.php +++ b/main/document/download.php @@ -56,7 +56,7 @@ if (substr($refer_script, 0, 15) == '/fillsurvey.php') { // Group folder? $gid_req = ($_GET['gidReq']) ? '&gidReq='.Security::remove_XSS($_GET['gidReq']) : ''; // Create the path - $document_explorer = api_get_path(WEB_CODE_PATH).'document/document.php?curdirpath='.urlencode($doc_url).'&'.api_get_cidreq_params(Security::remove_XSS($_GET['cidReq'], 0, $gid_req); + $document_explorer = api_get_path(WEB_CODE_PATH).'document/document.php?curdirpath='.urlencode($doc_url).'&'.api_get_cidreq_params(Security::remove_XSS($_GET['cidReq'], 0, $gid_req)); // Redirect header('Location: '.$document_explorer); }