From 3c181054dbe60467cc744c447010f525a862c26e Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 21 Nov 2008 10:44:28 +0000 Subject: Refactoring: improve debug_mode, constants and other stuff git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@168 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/sidebar.block.recent.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates/sidebar.block.recent.php') diff --git a/templates/sidebar.block.recent.php b/templates/sidebar.block.recent.php index a128e70..fef85f2 100644 --- a/templates/sidebar.block.recent.php +++ b/templates/sidebar.block.recent.php @@ -20,11 +20,12 @@ if ($recentTags && count($recentTags) > 0) { '; - if(strlen($user)==0) { - $cat_url = createURL('tags', '%2$s'); + if(!isset($user)) { + $user = ''; + $cat_url = createURL('tags', '%2$s'); } - foreach ($recentTags as $row) { + foreach ($recentTags as $row) { $entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']); $contents .= ' '; } -- cgit v1.2.3-54-g00ecf