diff options
author | prashantsinalkar | 2017-07-17 15:43:26 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-07-17 15:43:26 +0530 |
commit | da5b0740585144b8b99247d110a28f225371995e (patch) | |
tree | 9a718c13eaf03b899c1ef1846cec0293f0bbaab1 /dwsim_flowsheet.module | |
parent | 4a300bb42a4009bd7191882a136dc4ee062754b3 (diff) | |
download | dwsim_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-x | dwsim_flowsheet.module | 2 |
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() |