diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php index c97860a078e..48d54d40f5f 100644 --- a/htdocs/contact/list.php +++ b/htdocs/contact/list.php @@ -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; diff --git a/htdocs/product/list.php b/htdocs/product/list.php index c4e85553fd6..b83d3a871ba 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -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;