From 972ac7bbd60906891efabefa649858818d7a9c8e Mon Sep 17 00:00:00 2001 From: cweiske Date: Tue, 22 Sep 2009 06:21:45 +0000 Subject: [PATCH] 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 --- templates/bookmarks.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') .''; }