diff --git a/htdocs/commande/list_det.php b/htdocs/commande/list_det.php
index f3a9db22be4..36ac856d54b 100644
--- a/htdocs/commande/list_det.php
+++ b/htdocs/commande/list_det.php
@@ -939,7 +939,7 @@ if ($resql) {
print '
';
// Action column
- if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
+ if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '| ';
$searchpicto = $form->showFilterButtons('left');
print $searchpicto;
@@ -1224,7 +1224,7 @@ if ($resql) {
print ' | ';
}
// Action column
- if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
+ if (!getDolGlobalInt('>MAIN_CHECKBOX_LEFT_COLUMN')) {
print '';
$searchpicto = $form->showFilterButtons();
print $searchpicto;
@@ -1499,7 +1499,7 @@ if ($resql) {
print ' |
';
// Action column
- if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
+ if (getDolGlobalInt('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '| ';
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 ' | ';
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;
|