From c976d6a791c14bba7d84c94064fa93235091b38f Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 27 Oct 2013 13:18:37 -0700 Subject: [PATCH] Fix for broken link when using {DOWNLOAD_LIST_IMAGEFULL=link} --- download.php | 2 +- e107_plugins/download/download_shortcodes.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/download.php b/download.php index f9875a0dd..628f09118 100644 --- a/download.php +++ b/download.php @@ -20,7 +20,7 @@ require_once("class2.php"); -$query = (e_QUERY) ? "?".e_QUERY : ""; +$query = (e_QUERY) ? "?".str_replace("&","&",e_QUERY) : ""; e107::getRedirect()->go(e_PLUGIN."download/download.php".$query,true); diff --git a/e107_plugins/download/download_shortcodes.php b/e107_plugins/download/download_shortcodes.php index d0677f852..390f6c538 100644 --- a/e107_plugins/download/download_shortcodes.php +++ b/e107_plugins/download/download_shortcodes.php @@ -373,7 +373,7 @@ class download_shortcodes extends e_shortcode if($parm == "link" && $this->var['download_image']) { - return "".$img.""; + return "".$img.""; } else {