Debug v21

This commit is contained in:
Laurent Destailleur (aka Eldy) 2025-01-12 20:06:28 +01:00
parent 3c9373dd6d
commit 2e87ad4e35
2 changed files with 3 additions and 1 deletions

View File

@ -1422,9 +1422,10 @@ while ($i < $imaxinloop) {
}
$arraysocialnetworks = (array) json_decode($obj->socialnetworks, true);
$contactstatic->id = $obj->rowid;
$contactstatic->ref_ext = $obj->ref_ext;
$contactstatic->lastname = $obj->lastname;
$contactstatic->firstname = $obj->firstname;
$contactstatic->id = $obj->rowid;
$contactstatic->statut = $obj->statut;
$contactstatic->poste = $obj->poste;
$contactstatic->email = $obj->email;

View File

@ -1577,6 +1577,7 @@ while ($i < $imaxinloop) {
if (empty($reshook)) {
$product_static->id = $obj->rowid;
$product_static->ref = $obj->ref;
$product_static->ref_ext = $obj->ref_ext;
$product_static->description = $obj->description;
$product_static->ref_fourn = empty($obj->ref_supplier) ? '' : $obj->ref_supplier; // deprecated
$product_static->ref_supplier = empty($obj->ref_supplier) ? '' : $obj->ref_supplier;