diff --git a/module/datatable/model.php b/module/datatable/model.php index 739c609ebb..8d0a4d84b9 100644 --- a/module/datatable/model.php +++ b/module/datatable/model.php @@ -120,7 +120,7 @@ class datatableModel extends model * @access public * @return void */ - public function printHead($col, $orderBy, $vars) + public function printHead($col, $orderBy, $vars, $checkBox = true) { $id = $col->id; if($col->show) @@ -143,7 +143,7 @@ class datatableModel extends model } else { - if($id == 'id') echo "
"; + if($id == 'id' && $checkBox) echo ""; common::printOrderLink($id, $orderBy, $vars, $col->title); } echo '';