From a7eb336084795f258849dfe5e198acd82f003787 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 9 Sep 2022 17:11:39 +0200 Subject: [PATCH] Update list.php --- htdocs/bookmarks/list.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/bookmarks/list.php b/htdocs/bookmarks/list.php index e01dfcbe1e6..23964a9f006 100644 --- a/htdocs/bookmarks/list.php +++ b/htdocs/bookmarks/list.php @@ -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);