aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 12f9910f3..e8cc9878d 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -775,6 +775,7 @@
$title = strtolower($title);
$title = preg_replace("/[^\w ]/","",$title);
$title = str_replace(" ","-",$title);
+ $title = str_replace("--","-",$title);
return $title;
}