diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 36a5efd1ff0..c7c517a5d2f 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -12577,7 +12577,7 @@ function dolGetBadge($label, $html = '', $type = 'primary', $mode = '', $url = ' // TODO: add hook // escape all attribute - $attr = array_map('dolPrintHtmlForAttribute', $attr); + $attr = array_map('dolPrintHTMLForAttribute', $attr); $TCompiledAttr = array(); foreach ($attr as $key => $value) {