diff --git a/module/datatable/model.php b/module/datatable/model.php index 7bc9d4db7b..3eb81dcc56 100644 --- a/module/datatable/model.php +++ b/module/datatable/model.php @@ -129,6 +129,7 @@ class datatableModel extends model $fixed = $col->fixed == 'no' ? 'true': 'false'; $width = is_numeric($col->width) ? "{$col->width}px" : $col->width; $title = isset($col->title) ? "title='$col->title'" : ''; + $title = (isset($col->name) and $col->name) ? "title='$col->name'" : $title; if($id == 'id' and (int)$width < 90) $width = '90px'; $width = "data-width='$width' style='width:$width'"; $align = $id == 'actions' ? 'text-center' : '';