2
0
forked from Wavyzz/dolibarr

Update functions.lib.php

This commit is contained in:
Anthony Berton
2022-01-20 13:49:23 +01:00
committed by GitHub
parent 5f4c53f824
commit 687c8e2082

View File

@@ -6952,9 +6952,9 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
'__USER_ID__' => (string) $user->id,
'__USER_LOGIN__' => (string) $user->login,
'__USER_EMAIL__' => (string) $user->email,
'__USER_PHONE__' => (string) $user->office_phone,
'__USER_PHONEPRO__' => (string) $user->user_mobile,
'__USER_PHONEMOBILE__' => (string) $user->personal_mobile,
'__USER_PHONE__' => (string) dol_print_phone($user->office_phone),
'__USER_PHONEPRO__' => (string) dol_print_phone($user->user_mobile),
'__USER_PHONEMOBILE__' => (string) dol_print_phone($user->personal_mobile),
'__USER_FAX__' => (string) $user->office_fax,
'__USER_LASTNAME__' => (string) $user->lastname,
'__USER_FIRSTNAME__' => (string) $user->firstname,