Fix : php 8.1 warnings

This commit is contained in:
lmarcouiller
2022-07-29 15:46:13 +02:00
parent 8b813d211b
commit 05ca9da7e1
13 changed files with 112 additions and 111 deletions

View File

@@ -10422,7 +10422,7 @@ function dolGetButtonAction($label, $html = '', $actionType = 'default', $url =
global $hookmanager, $action, $object, $langs;
//var_dump($params);
if ($params['isDropdown'])
if (!empty($params['isDropdown']))
$class = "dropdown-item";
else {
$class = 'butAction';