X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fplmailer.php;fp=classes%2Fplmailer.php;h=6b6fd0d8904e7271ebc816c6c321f383b131b5bf;hb=a99ff1fc9dfc6faae70b71ad440bc21ebcbbbd4c;hp=f7a913c9293a7445b006afe04b9df6b1cc82c6d9;hpb=e1da27bbd1aa1822d3963f681748047e896e9500;p=platal.git diff --git a/classes/plmailer.php b/classes/plmailer.php index f7a913c..6b6fd0d 100644 --- a/classes/plmailer.php +++ b/classes/plmailer.php @@ -47,6 +47,7 @@ class PlMail extends Smarty $this->register_function('bcc', Array($this, 'addBcc')); $this->register_function('subject', Array($this, 'setSubject')); $this->register_function('add_header', Array($this, 'addHeader')); + $this->assign_by_ref('globals', $globals); } public static function &get(&$mailer, $tpl)