From 54e3f2932d0a5253dd00419ae2ed0989efe8b37d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 19 Mar 2025 23:34:14 +0100 Subject: [PATCH] Fix function name --- 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 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) {