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:
@@ -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), '-');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user