Merge pull request #19203 from frederic34/patch-12
fix rights and warnings
This commit is contained in:
commit
d90253eb08
@ -62,9 +62,9 @@ $id = GETPOST("id", 'int');
|
|||||||
|
|
||||||
$object = new Bookmark($db);
|
$object = new Bookmark($db);
|
||||||
|
|
||||||
$permissiontoread = $user->rights->bookmark->lire;
|
$permissiontoread = !empty($user->rights->bookmark->lire);
|
||||||
$permissiontoadd = $user->rights->bookmark->write;
|
$permissiontoadd = !empty($user->rights->bookmark->creer);
|
||||||
$permissiontodelete = $user->rights->bookmark->delete;
|
$permissiontodelete = !empty($user->rights->bookmark->supprimer);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user