);
}
- if(count($listBugAll) > 0) {
+ if(!empty($listBugAll)) {
foreach ($listBugAll as $key => $defect) {
if ( ($indexMin <= $key) && ($indexMax >= $key) ){
$listBug[] = $defect;
}
// affichage page
- if (!count($listBug)) {
+ if (empty($listBug)) {
echo $HTML->warning_msg(_('No tickets to display.'));
} else {
html_use_tablesorter();