Merge pull request #19908 from bb2a/substiturion-user-poste

ADD Substitution user job
This commit is contained in:
Laurent Destailleur 2022-01-23 17:51:55 +01:00 committed by GitHub
commit a23118f725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6960,6 +6960,7 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
'__USER_FIRSTNAME__' => (string) $user->firstname,
'__USER_FULLNAME__' => (string) $user->getFullName($outputlangs),
'__USER_SUPERVISOR_ID__' => (string) ($user->fk_user ? $user->fk_user : '0'),
'__USER_JOB__' => (string) $user->job,
'__USER_REMOTE_IP__' => (string) getUserRemoteIP()
));
}