Skip to content
Snippets Groups Projects
Commit 533391f8 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5030 from frederic34/patch-7

FIX Using $user that was not imported
parents 429be467 d5980a5b
No related branches found
No related tags found
No related merge requests found
......@@ -920,6 +920,7 @@ class FormMail extends Form
*/
function setSubstitFromObject($object)
{
global $user;
$this->substit['__REF__'] = $object->ref;
$this->substit['__SIGNATURE__'] = $user->signature;
$this->substit['__REFCLIENT__'] = $object->ref_client;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment