From da5b0740585144b8b99247d110a28f225371995e Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Mon, 17 Jul 2017 15:43:26 +0530 Subject: fixed file uplaod issue --- dwsim_flowsheet.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwsim_flowsheet.module') diff --git a/dwsim_flowsheet.module b/dwsim_flowsheet.module index 4636471..52a0c42 100755 --- a/dwsim_flowsheet.module +++ b/dwsim_flowsheet.module @@ -793,7 +793,7 @@ function _df_dir_name($project, $proposar_name) $project_title = ucname($project); $proposar_name = ucname($proposar_name); $dir_name = $project_title . ' By ' . $proposar_name; - $directory_name = str_replace("__", "_", str_replace(" ", "_", $dir_name)); + $directory_name = str_replace("__", "_", str_replace(" ", "_", str_replace("/","_", trim($dir_name)))); return $directory_name; } function dwsim_flowsheet_document_path() -- cgit