From 5abf9dc5c437c3c0dc3408c3a583106fa6babcc2 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Wed, 20 Jun 2012 22:29:00 +0200 Subject: minor bugfixes --- tpl/account/list.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tpl/account') diff --git a/tpl/account/list.php b/tpl/account/list.php index 398ac99..a97606f 100644 --- a/tpl/account/list.php +++ b/tpl/account/list.php @@ -8,7 +8,11 @@ echo ""; echo ""; foreach($users as $u) { echo ''; - echo ''; + if ($u['nbNotes'] > 0) { + echo ''; + } else { + echo ''; + } if ($u['nbPosts'] > 0) { echo ''; } else { -- cgit v1.2.3
UsernameNotebookBlog
' . $u['name'] . '' . $u['nbNotes'] . ' notes' . $u['nbNotes'] . ' notesno notes' . $u['nbPosts'] . ' posts