From 40ca013e42ff64f5c88e31077e9e816cc3b7e581 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 20 Feb 2010 11:20:32 +0000 Subject: [PATCH] sql optimization: 9 queries less! git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@670 b3834d28-1941-0410-a4f8-b48e95affb8f --- data/templates/bookmarks.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index b1a6eb0..8f502d3 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -307,7 +307,7 @@ if($currenttag!= '') { } // Admin specific design - if($userservice->isAdmin($row['uId'])) { + if ($userservice->isAdmin($row['username'])) { $adminBgClass = 'class="adminBackground"'; $adminStar = ' '; } else {