Fix regression in perms

This commit is contained in:
Laurent Destailleur 2022-09-09 17:14:39 +02:00
parent a4fbd10032
commit 2903af6d90

View File

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