fix: delete bookmark button link

This commit is contained in:
Florian HENRY 2023-06-05 08:49:16 +02:00
parent 935a730fbc
commit 82271a766d

View File

@ -332,7 +332,7 @@ if ($id > 0 && !preg_match('/^add/i', $action)) {
// Remove
if ($permissiontodelete && $action != 'edit') {
print '<a class="butActionDelete" href="list.php?bid='.$object->id.'&action=delete&token='.newToken().'">'.$langs->trans("Delete").'</a>'."\n";
print '<a class="butActionDelete" href="list.php?id='.$object->id.'&action=delete&token='.newToken().'">'.$langs->trans("Delete").'</a>'."\n";
}
print '</div>';