Fix regression in perms
This commit is contained in:
parent
a4fbd10032
commit
2903af6d90
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user