From: cweiske Date: Tue, 22 Sep 2009 06:21:45 +0000 (+0000) Subject: Fix bug #2674961: editAllowed optimization - make less queries for each bookmark X-Git-Tag: v0.94~17 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=972ac7bbd60906891efabefa649858818d7a9c8e;p=semanticscuttle.git Fix bug #2674961: editAllowed optimization - make less queries for each bookmark git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@367 b3834d28-1941-0410-a4f8-b48e95affb8f --- diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index e27bc3e..2b673b7 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -227,7 +227,7 @@ if($currenttag!= '') { // Edit and delete links $edit = ''; - if ($bookmarkservice->editAllowed($row['bId'])) { + if ($bookmarkservice->editAllowed($row)) { $edit = ' - '. T_('Edit') .''; }