fix phan
This commit is contained in:
parent
5869a633e4
commit
ee53c4e004
3 changed files with 5 additions and 5 deletions
|
|
@ -258,9 +258,9 @@ if (is_array($results)) {
|
|||
print $langs->trans("ContactForRecruitment").' : ';
|
||||
$emailforcontact = $object->email_recruiter;
|
||||
if (empty($emailforcontact)) {
|
||||
$emailforcontact = $tmpuser->email;
|
||||
$emailforcontact = $tmpuser->email ?? '';
|
||||
if (empty($emailforcontact)) {
|
||||
$emailforcontact = $mysoc->email;
|
||||
$emailforcontact = $mysoc->email ?? '';
|
||||
}
|
||||
}
|
||||
print '<b class="wordbreak">';
|
||||
|
|
|
|||
|
|
@ -357,9 +357,9 @@ $tmpuser->fetch($object->fk_user_recruiter);
|
|||
print $langs->trans("ContactForRecruitment").' : ';
|
||||
$emailforcontact = $object->email_recruiter;
|
||||
if (empty($emailforcontact)) {
|
||||
$emailforcontact = $tmpuser->email;
|
||||
$emailforcontact = $tmpuser->email ?? '';
|
||||
if (empty($emailforcontact)) {
|
||||
$emailforcontact = $mysoc->email;
|
||||
$emailforcontact = $mysoc->email ?? '';
|
||||
}
|
||||
}
|
||||
print '<b class="wordbreak">';
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@ if ($object->email && !getDolUserInt('USER_PUBLIC_HIDE_EMAIL', 0, $object)) {
|
|||
if ($object->url && !getDolUserInt('USER_PUBLIC_HIDE_URL', 0, $object)) {
|
||||
$usersection .= '<div class="flexitemsmall">';
|
||||
$usersection .= img_picto('', 'globe', 'class="pictofixedwidth"');
|
||||
$usersection .= dol_print_url($object->url, '_blank', 0, 0, '');
|
||||
$usersection .= dol_print_url($object->url ?? '', '_blank', 0, 0, '');
|
||||
$usersection .= '</div>';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue