1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

name2id exclude ':'. Linkwords fix for spaces.

This commit is contained in:
Cameron
2016-05-12 16:07:59 -07:00
parent 44f46317ab
commit c88f5b2757
2 changed files with 3 additions and 3 deletions

View File

@@ -2797,7 +2797,7 @@ class e_form
function name2id($name)
{
$name = strtolower($name);
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.', '(', ')', '::'), array('-', '-', '', '-', '-', '-', '-','','','-'), $name), '-');
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.', '(', ')', '::', ':'), array('-', '-', '', '-', '-', '-', '-','','','-',''), $name), '-');
}
/**