mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: ref_ext was not loaded
Conflicts: htdocs/contact/class/contact.class.php
This commit is contained in:
parent
91c6d47a60
commit
8d63c2f9c5
|
|
@ -469,7 +469,7 @@ class Contact extends CommonObject
|
|||
|
||||
|
||||
/**
|
||||
* Charge l'objet contact
|
||||
* Load object contact
|
||||
*
|
||||
* @param int $id id du contact
|
||||
* @param User $user Utilisateur (abonnes aux alertes) qui veut les alertes de ce contact
|
||||
|
|
@ -481,7 +481,7 @@ class Contact extends CommonObject
|
|||
|
||||
$langs->load("companies");
|
||||
|
||||
$sql = "SELECT c.rowid, c.fk_soc, c.civilite as civilite_id, c.lastname, c.firstname,";
|
||||
$sql = "SELECT c.rowid, c.fk_soc, c.ref_ext, c.civilite as civilite_id, c.lastname, c.firstname,";
|
||||
$sql.= " c.address, c.zip, c.town,";
|
||||
$sql.= " c.fk_pays as country_id,";
|
||||
$sql.= " c.fk_departement,";
|
||||
|
|
@ -510,6 +510,7 @@ class Contact extends CommonObject
|
|||
|
||||
$this->id = $obj->rowid;
|
||||
$this->ref = $obj->rowid;
|
||||
$this->ref_ext = $obj->ref_ext;
|
||||
$this->civilite_id = $obj->civilite_id;
|
||||
$this->lastname = $obj->lastname;
|
||||
$this->firstname = $obj->firstname;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user