Update list.php

This commit is contained in:
Laurent Destailleur 2022-09-09 17:11:39 +02:00 committed by GitHub
parent 4351159693
commit a7eb336084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,7 @@ if (!$sortorder) {
$object = new Bookmark($db);
// Security check
if (empty($user->rights->bookmark->lire)) {
restrictedArea($user, 'bookmarks');
}
restrictedArea($user, 'bookmarks');
// Permissions
$permissiontoread = !empty($user->rights->bookmark->lire);