From 97da26bd0aaaeca4fc9c66603497eea2a5cd7d5f Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 5 Jun 2015 12:47:20 +0200 Subject: [PATCH] Fix bug in todo list, add an empty table if nothing --- include/template/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/template/dashboard.php b/include/template/dashboard.php index 571ab7e3a..3b05b09da 100644 --- a/include/template/dashboard.php +++ b/include/template/dashboard.php @@ -19,9 +19,9 @@ $array=$todo->load_all(); $a_todo=Todo_List::to_object($cn,$array); echo HtmlInput::button('add',_('Ajout'),'onClick="add_todo()"','smallbutton'); -if ( ! empty ($array) ) { echo ''; echo ''; +if ( ! empty ($array) ) { $nb=0; $today=date('d.m.Y'); @@ -30,8 +30,8 @@ if ( ! empty ($array) ) { $nb++; echo $row->display_row($odd); } - echo '
Date  ▴Titre
'; } + echo ''; ?>