summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-20 11:20:32 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-20 11:20:32 +0000
commit40ca013e42ff64f5c88e31077e9e816cc3b7e581 (patch)
tree4152fea1811cd741b677f4afa7244191e84c3d61
parent6c9542f24b630f60490949f4e77bcb0cf1bf7377 (diff)
downloadsemanticscuttle-40ca013e42ff64f5c88e31077e9e816cc3b7e581.tar.gz
semanticscuttle-40ca013e42ff64f5c88e31077e9e816cc3b7e581.tar.bz2
sql optimization: 9 queries less!
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@670 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--data/templates/bookmarks.tpl.php2
1 files changed, 1 insertions, 1 deletions
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 = ' <img src="'. ROOT .'images/logo_24.gif" width="12px" title="'. T_('This bookmark is certified by an admin user.') .'" />';
} else {