From 1f0048576395342f404f802e3d56ffe5eaadd4ef Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Nov 2024 16:14:26 +0100 Subject: [PATCH] Doc --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index a2ac4e4213e..18080ab0b96 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1641,7 +1641,7 @@ function dol_sanitizeFileName($str, $newstr = '_', $unaccent = 1) /** * Clean a string to use it as a path name. Similar to dol_sanitizeFileName but accept / and \ chars. - * Replace also '--' and ' -' strings, they are used for parameters separation (Note: ' - ' is allowed). + * Replace also '--' and ' -' strings, they are used for parameters separation (Note: ' - ' and 'x-y' is allowed). * * @param string $str String to clean * @param string $newstr String to replace bad chars with