diff options
-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 93a555f..a5aa8d9 100755 --- a/dwsim_flowsheet.module +++ b/dwsim_flowsheet.module @@ -838,7 +838,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() |