Debug v22

This commit is contained in:
ldestailleur
2025-06-11 12:58:40 +02:00
parent 9e26f5a98e
commit a6ee29522a

View File

@@ -370,6 +370,9 @@ if ($mode == 'hierarchy') {
if ($type != '') {
$param .= '&type='.urlencode($type);
}
if (GETPOST('dol_openinpopup', 'aZ')) {
$param .= '&dol_openinpopup='.urlencode(GETPOST('dol_openinpopup', 'aZ'));
}
$typetext = $type;
@@ -522,7 +525,7 @@ if ($mode == 'hierarchy') {
} else {
// Mode list
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-aaa page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for a horizontal scroll in the table instead of page
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-acategory page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for a horizontal scroll in the table instead of page
$arrayofselected = is_array($toselect) ? $toselect : array();
@@ -543,6 +546,9 @@ if ($mode == 'hierarchy') {
if ($type != '') {
$param .= '&type='.urlencode($type);
}
if (GETPOST('dol_openinpopup', 'aZ')) {
$param .= '&dol_openinpopup='.urlencode(GETPOST('dol_openinpopup', 'aZ'));
}
foreach ($search as $key => $val) {
if (is_array($search[$key])) {
foreach ($search[$key] as $skey) {