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 822c36da0..9aa9b9e40 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -382,7 +382,7 @@ function str2url($str)
if (empty($res))
{
- $res = $raw;
+ $res = str_replace(' ','_', $raw);
}
return $res;