浏览代码

Update myobject_list.php

Anthony Berton 3 年之前
父节点
当前提交
ff696acab8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      htdocs/modulebuilder/template/myobject_list.php

+ 1 - 1
htdocs/modulebuilder/template/myobject_list.php

@@ -536,7 +536,7 @@ if (!empty($moreforfilter)) {
 }
 
 $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage;
-if (empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
+if (!empty($conf->global->MAIN_CHECKBOX_LEFT_COLUMN)) {
 	$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, 'left'); // This also change content of $arrayfields
 } else {
 	$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields