From f5bc20644edbe5be7344ca3e5b6b2ed4ccb81de5 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 2 Apr 2012 21:48:30 -0400 Subject: [PATCH] Fixed issue #05979: values prefilled via URL are not passed through to end URL Dev also syntax highlighted end URL so can see if it contains typos --- admin/html.php | 6 +++++- group.php | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/html.php b/admin/html.php index 87edd4a6f5f..24e53292f69 100644 --- a/admin/html.php +++ b/admin/html.php @@ -861,7 +861,11 @@ . ""; if ($surveyinfo['surveyls_url']!="") { - $surveysummary .=" {$surveyinfo['surveyls_urldescription']}"; + templatereplace($surveyinfo['surveyls_url']); + $_url = htmlspecialchars(strip_tags(LimeExpressionManager::GetLastPrettyPrintExpression())); + templatereplace($surveyinfo['surveyls_urldescription']); + $_desc = LimeExpressionManager::GetLastPrettyPrintExpression(); + $surveysummary .=" {$_desc}"; } else { diff --git a/group.php b/group.php index 1305ec07203..c202885d861 100644 --- a/group.php +++ b/group.php @@ -366,6 +366,7 @@ //Before doing the "templatereplace()" function, check the $thissurvey['url'] //field for limereplace stuff, and do transformations! + $thissurvey['surveyls_url']=templatereplace($thissurvey['surveyls_url']); // to do INSERTANS substitutions $thissurvey['surveyls_url']=passthruReplace($thissurvey['surveyls_url'], $thissurvey); $content='';