2
0
forked from Wavyzz/dolibarr

Complete css to get value unique

This commit is contained in:
Laurent Destailleur
2017-06-13 15:57:30 +02:00
parent 9b979e3cb7
commit 70c7bcc85f
4 changed files with 37 additions and 27 deletions

View File

@@ -611,7 +611,7 @@ function dol_string_unaccent($str)
*/
function dol_string_nospecial($str,$newstr='_',$badcharstoreplace='')
{
$forbidden_chars_to_replace=array(" ","'","/","\\",":","*","?","\"","<",">","|","[","]",",",";","=");
$forbidden_chars_to_replace=array(" ", "'", "/", "\\", ":", "*", "?", "\"", "<", ">", "|", "[", "]", ",", ";", "=");
$forbidden_chars_to_remove=array();
if (is_array($badcharstoreplace)) $forbidden_chars_to_replace=$badcharstoreplace;
//$forbidden_chars_to_remove=array("(",")");