summaryrefslogtreecommitdiff
path: root/dwsim_flowsheet.module
diff options
context:
space:
mode:
authorprashantsinalkar2017-07-17 15:43:26 +0530
committerprashantsinalkar2017-07-17 15:43:26 +0530
commitda5b0740585144b8b99247d110a28f225371995e (patch)
tree9a718c13eaf03b899c1ef1846cec0293f0bbaab1 /dwsim_flowsheet.module
parent4a300bb42a4009bd7191882a136dc4ee062754b3 (diff)
downloaddwsim_flowsheet-da5b0740585144b8b99247d110a28f225371995e.tar.gz
dwsim_flowsheet-da5b0740585144b8b99247d110a28f225371995e.tar.bz2
dwsim_flowsheet-da5b0740585144b8b99247d110a28f225371995e.zip
fixed file uplaod issue
Diffstat (limited to 'dwsim_flowsheet.module')
-rwxr-xr-xdwsim_flowsheet.module2
1 files changed, 1 insertions, 1 deletions
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()