From e9697990e6be8ea070092e1f27dbc5cd232bf005 Mon Sep 17 00:00:00 2001 From: dante Date: Fri, 20 Oct 2017 14:50:17 -0400 Subject: [PATCH] moving file name sanitization to ouput document files only --- workflow/engine/methods/cases/cases_ShowOutputDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/methods/cases/cases_ShowOutputDocument.php b/workflow/engine/methods/cases/cases_ShowOutputDocument.php index b9566e088..b786e3814 100644 --- a/workflow/engine/methods/cases/cases_ShowOutputDocument.php +++ b/workflow/engine/methods/cases/cases_ShowOutputDocument.php @@ -159,7 +159,7 @@ if (!$sw_file_exists) { } /*----------------------------------********---------------------------------*/ if (!$downloadStatus) { - G::streamFile( $realPath, $download, G::inflect( $nameFile)); //download + G::streamFile( $realPath, $download, G::inflect($nameFile)); //download } } }