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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user