From 66b6b5e91a5610ba3c578ce853ade877a7b00aee Mon Sep 17 00:00:00 2001 From: Sylvain Legrand Date: Fri, 28 Jan 2022 11:31:17 +0100 Subject: [PATCH] stickler-ci --- 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 edab23ce514..6c6a328596f 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -2951,7 +2951,7 @@ function dol_print_profids($profID, $profIDtype, $countrycode = '', $addcpButton if ($profIDtype == 'VATIntra' && dol_strlen($newProfID) == 13) $newProfID = substr($newProfID, 0, 4).$separ.substr($newProfID, 4, 3).$separ.substr($newProfID, 7, 3).$separ.substr($newProfID, 10, 3); } if (!empty($addcpButton)) $ret = showValueWithClipboardCPButton(dol_escape_htmltag($profID), ($addcpButton == 1 ? 1 : 0), $newProfID); - else $ret = $newProfID; + else $ret = $newProfID; return $ret; }