aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 4b276b662..015eb8849 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -392,7 +392,7 @@ function str2url($str)
if (empty($res))
{
- $res = $raw;
+ $res = str_replace(' ','_', $raw);
}
return $res;