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

Fixes #4700 - linkwords inconsistencies.

This commit is contained in:
Cameron
2022-03-12 11:50:27 -08:00
parent 4032c2954f
commit 748fd4b9b6
4 changed files with 97 additions and 52 deletions

View File

@@ -4191,7 +4191,7 @@ var_dump($select_options);*/
public function name2id($name)
{
$name = strtolower($name);
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.', '(', ')', '::', ':', '?','='), array('-', '-', '', '-', '-', '-', '-','','','-','','-','-'), $name), '-');
return rtrim(str_replace(array('[]', '[', ']', '_', '/', ' ','.', '(', ')', '::', ':', '?','=',"'"), array('-', '-', '', '-', '-', '-', '-','','','-','','-','-',''), $name), '-');
}
/**