From 2756e3f85818346a478725b6dd94a966e0d92c07 Mon Sep 17 00:00:00 2001 From: mensonge Date: Sat, 10 May 2008 08:59:41 +0000 Subject: Bug fixes: correct minor bugs appearing with 'notice' level in PHP git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@122 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/bookmarks.tpl.php | 13 +++++++++---- templates/sidebar.block.linked.php | 9 ++++++++- templates/sidebar.block.menu.php | 7 ++++++- templates/sidebar.block.recent.php | 3 +++ templates/sidebar.linkedtags.inc.php | 4 +++- templates/toolbar.inc.php | 2 +- templates/top.inc.php | 10 ++++++---- 7 files changed, 36 insertions(+), 12 deletions(-) (limited to 'templates') diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 6a778bb..f7cc45b 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -43,17 +43,22 @@ if($logged_on_userid>0) { getUserByUsername($user); /* Private tag description */ -if(isset($currenttag) && strlen($user)>0 && $tagservice->getDescription($currenttag, $userObject['uId'])):?> +if(isset($currenttag) && isset($user)) { + $userObject = $userservice->getUserByUsername($user); + if($tagservice->getDescription($currenttag, $userObject['uId'])) { ?> +

getDescription($currenttag, $userObject['uId']); echo nl2br(filter($description['tDescription'])); ?>

- + + 0) { ?> '; } ?> -- cgit v1.2.3