FIX - getDolGlobalInt for left colum (#26169)

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
This commit is contained in:
Anthony Berton 2023-10-10 18:39:14 +02:00 committed by GitHub
parent 97c4898f9c
commit 79b02494cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -939,7 +939,7 @@ if ($resql) {
print '<tr class="liste_titre_filter">';
// Action column
if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '<td class="liste_titre" align="middle">';
$searchpicto = $form->showFilterButtons('left');
print $searchpicto;
@ -1224,7 +1224,7 @@ if ($resql) {
print '</td>';
}
// Action column
if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
if (!getDolGlobalInt('>MAIN_CHECKBOX_LEFT_COLUMN')) {
print '<td class="liste_titre" align="middle">';
$searchpicto = $form->showFilterButtons();
print $searchpicto;
@ -1499,7 +1499,7 @@ if ($resql) {
print '<tr class="oddeven">';
// Action column
if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '<td class="nowrap center">';
if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
$selected = 0;
@ -2150,7 +2150,7 @@ if ($resql) {
}
// Action column
if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
if (!getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '<td class="nowrap center">';
if ($massactionbutton || $massaction) { // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
$selected = 0;