]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
sql optimization: 9 queries less!
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sat, 20 Feb 2010 11:20:32 +0000 (11:20 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sat, 20 Feb 2010 11:20:32 +0000 (11:20 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@670 b3834d28-1941-0410-a4f8-b48e95affb8f

data/templates/bookmarks.tpl.php

index b1a6eb00c1a049736fa71c71dcee208af6629042..8f502d3bb69a28d7351f43ae4f9baabedc412085 100644 (file)
@@ -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 {