From 7c9c8e11b41442b00442c8ac4b8ff83590227c9a Mon Sep 17 00:00:00 2001 From: Lee Bradley Date: Sun, 18 May 2014 21:38:14 +0100 Subject: [PATCH] Fix for #1018 "'Export To CSV' for Reports not working" The call to LeftAndMain::Link() was appending the Action as opposed to passing it as a parameter This resulted in the double forward slash (/), There is still possibly an unresolved issue with LeftAndMain::Link() about appending the slash at the end?? --- code/ReportAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ReportAdmin.php b/code/ReportAdmin.php index dd3619f9..ad868b53 100755 --- a/code/ReportAdmin.php +++ b/code/ReportAdmin.php @@ -179,7 +179,7 @@ class ReportAdmin extends LeftAndMain { unset($filteredCriteria[$notAParam]); } - $formLink = $this->Link() . '/EditForm'; + $formLink = $this->Link( 'EditForm' ); if($filteredCriteria) $formLink .= '?' . http_build_query($filteredCriteria); $form->setFormAction($formLink); $form->setTemplate('ReportAdminForm');