Update html.formmail.class.php
This commit is contained in:
parent
7163ee55f7
commit
d5980a5bf8
@ -920,6 +920,7 @@ class FormMail extends Form
|
|||||||
*/
|
*/
|
||||||
function setSubstitFromObject($object)
|
function setSubstitFromObject($object)
|
||||||
{
|
{
|
||||||
|
global $user;
|
||||||
$this->substit['__REF__'] = $object->ref;
|
$this->substit['__REF__'] = $object->ref;
|
||||||
$this->substit['__SIGNATURE__'] = $user->signature;
|
$this->substit['__SIGNATURE__'] = $user->signature;
|
||||||
$this->substit['__REFCLIENT__'] = $object->ref_client;
|
$this->substit['__REFCLIENT__'] = $object->ref_client;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user