Allow : into file names
This commit is contained in:
parent
46698192b4
commit
26564cc79c
@ -760,7 +760,7 @@ function dol_size($size,$type='')
|
||||
*/
|
||||
function dol_sanitizeFileName($str,$newstr='_',$unaccent=1)
|
||||
{
|
||||
$filesystem_forbidden_chars = array('<','>',':','/','\\','?','*','|','"','°');
|
||||
$filesystem_forbidden_chars = array('<','>','/','\\','?','*','|','"','°');
|
||||
return dol_string_nospecial($unaccent?dol_string_unaccent($str):$str, $newstr, $filesystem_forbidden_chars);
|
||||
}
|
||||
|
||||
|
||||
@ -97,7 +97,7 @@ if ($object->id)
|
||||
|
||||
$head=holiday_prepare_head($object);
|
||||
|
||||
dol_fiche_head($head, 'documents',$langs->trans("CPTitreMenu"),0,'holiday');
|
||||
dol_fiche_head($head, 'documents', $langs->trans("CPTitreMenu"), -1,'holiday');
|
||||
|
||||
|
||||
// Construit liste des fichiers
|
||||
|
||||
Loading…
Reference in New Issue
Block a user