Code comment

This commit is contained in:
Laurent Destailleur 2011-12-21 21:45:36 +01:00
parent 183ea726bd
commit b9d578b408

View File

@ -320,7 +320,7 @@ if (empty($reshook))
// To not set code if third party is not concerned. But if it had values, we keep them.
if (empty($object->client) && empty($object->oldcopy->code_client)) $object->code_client='';
if (empty($object->fournisseur)&& empty($object->oldcopy->code_fournisseur)) $object->code_fournisseur='';
//var_dump($soc);exit;
//var_dump($object);exit;
$result = $object->update($socid,$user,1,$object->oldcopy->codeclient_modifiable(),$object->oldcopy->codefournisseur_modifiable());
if ($result <= 0)