Update card.php
This commit is contained in:
parent
67b73cf0e6
commit
f369c1a80a
@ -608,6 +608,7 @@ if ($action == 'update')
|
|||||||
if ($action == 'confirm_delete' && GETPOST("confirm") == 'yes')
|
if ($action == 'confirm_delete' && GETPOST("confirm") == 'yes')
|
||||||
{
|
{
|
||||||
$object->fetch($id);
|
$object->fetch($id);
|
||||||
|
$object->fetch_optionals();
|
||||||
|
|
||||||
if ($user->rights->agenda->myactions->delete
|
if ($user->rights->agenda->myactions->delete
|
||||||
|| $user->rights->agenda->allactions->delete)
|
|| $user->rights->agenda->allactions->delete)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user