X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fmarketing.inc.php;h=a81d0a258edd97378c7922ea51fc81f0ea8d850c;hb=2d8779e2808c8071eaea64420f553812e992bdce;hp=53a5e751f77261aaf0842019697f76a75c4dfbea;hpb=5daf68f6846682e439570b5245a6109ada8d9304;p=platal.git diff --git a/include/validations/marketing.inc.php b/include/validations/marketing.inc.php index 53a5e75..a81d0a2 100644 --- a/include/validations/marketing.inc.php +++ b/include/validations/marketing.inc.php @@ -39,10 +39,10 @@ class MarkReq extends Validate // }}} // {{{ constructor - public function __construct(User $sender, User $mark, $email, $perso, $type, $data) + public function __construct(User &$sender, User &$mark, $email, $perso, $type, $data) { parent::__construct($sender, false, 'marketing'); - $this->m_user = $mark; + $this->m_user = &$mark; $this->m_email = $email; $this->perso = $perso; $this->m_type = $type;