mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 16:12:39 +01:00
Debug v20
This commit is contained in:
@@ -1486,7 +1486,7 @@ abstract class CommonObject
|
||||
|
||||
$sql = "SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact"; // This field contains id of llx_socpeople or id of llx_user
|
||||
if ($source == 'internal') {
|
||||
$sql .= ", '-1' as socid, t.statut as statuscontact, t.login, t.photo";
|
||||
$sql .= ", '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.gender";
|
||||
}
|
||||
if ($source == 'external' || $source == 'thirdparty') {
|
||||
$sql .= ", t.fk_soc as socid, t.statut as statuscontact";
|
||||
@@ -1548,6 +1548,7 @@ abstract class CommonObject
|
||||
'email' => $obj->email,
|
||||
'login' => (empty($obj->login) ? '' : $obj->login),
|
||||
'photo' => (empty($obj->photo) ? '' : $obj->photo),
|
||||
'gender' => (empty($obj->gender) ? '' : $obj->gender),
|
||||
'statuscontact' => $obj->statuscontact,
|
||||
'rowid' => $obj->rowid,
|
||||
'code' => $obj->code,
|
||||
|
||||
Reference in New Issue
Block a user