Update card.php
Variable $mesg not do anything
This commit is contained in:
parent
fc9c343af9
commit
d109341ebe
@ -85,10 +85,7 @@ if (empty($reshook))
|
|||||||
$result=$object->fetch($id);
|
$result=$object->fetch($id);
|
||||||
$object->code_compta_fournisseur=$_POST["supplieraccountancycode"];
|
$object->code_compta_fournisseur=$_POST["supplieraccountancycode"];
|
||||||
$result=$object->update($object->id, $user, 1, 0, 1);
|
$result=$object->update($object->id, $user, 1, 0, 1);
|
||||||
if ($result < 0)
|
if ($result < 0) setEventMessages($object->error, $object->errors, 'errors');
|
||||||
{
|
|
||||||
$mesg=join(',', $object->errors);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// terms of the settlement
|
// terms of the settlement
|
||||||
if ($action == 'setconditions' && $user->rights->societe->creer)
|
if ($action == 'setconditions' && $user->rights->societe->creer)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user