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
This commit is contained in:
parent
724d9fa421
commit
972ac7bbd6
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ if($currenttag!= '') {
|
|||
|
||||
// Edit and delete links
|
||||
$edit = '';
|
||||
if ($bookmarkservice->editAllowed($row['bId'])) {
|
||||
if ($bookmarkservice->editAllowed($row)) {
|
||||
$edit = ' - <a href="'. createURL('edit', $row['bId']) .'">'. T_('Edit') .'</a><script type="text/javascript">document.write(" - <a href=\"#\" onclick=\"deleteBookmark(this, '. $row['bId'] .'); return false;\">'. T_('Delete') .'<\/a>");</script>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue