aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.inc.php')
-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;