2
0
forked from Wavyzz/dolibarr

Fix CI: Do not require some fields in the 'title' definition of $cols (#33399)

* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols
This commit is contained in:
MDW
2025-03-11 01:42:49 +01:00
committed by GitHub
parent ec904bd1db
commit c0f533865f
10 changed files with 11 additions and 12 deletions

View File

@@ -13157,7 +13157,7 @@ function dolGetButtonAction($label, $text = '', $actionType = 'default', $url =
foreach ($attr as $key => $value) {
if (!empty($params['use_unsecured_unescapedattr']) && is_array($params['use_unsecured_unescapedattr']) && in_array($key, $params['use_unsecured_unescapedattr'])) {
// Not recommended
$value = dol_htmlentities($attrV, ENT_QUOTES | ENT_SUBSTITUTE);
$value = dol_htmlentities($value, ENT_QUOTES | ENT_SUBSTITUTE);
} elseif ($key == 'href') {
$value = dolPrintHTMLForAttributeUrl($value);
} else {