Update card.php
This commit is contained in:
parent
bb21d048f4
commit
2d3a6d2108
@ -817,6 +817,7 @@ if (empty($reshook))
|
|||||||
if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->societe->supprimer)
|
if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->societe->supprimer)
|
||||||
{
|
{
|
||||||
$object->fetch($socid);
|
$object->fetch($socid);
|
||||||
|
$object->oldcopy = clone $object;
|
||||||
$result = $object->delete($socid, $user);
|
$result = $object->delete($socid, $user);
|
||||||
|
|
||||||
if ($result > 0)
|
if ($result > 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user