X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fbroken.inc.php;h=da2247937075d820ccab25c61b605bba1a7ebb68;hb=4cf8b468bf6fee5281f808f5dfb27dc6dfaf4c52;hp=31e3fc6830b79f1f9d906990d92cf23bd2b56481;hpb=5daf68f6846682e439570b5245a6109ada8d9304;p=platal.git diff --git a/include/validations/broken.inc.php b/include/validations/broken.inc.php index 31e3fc6..da22479 100644 --- a/include/validations/broken.inc.php +++ b/include/validations/broken.inc.php @@ -37,10 +37,10 @@ class BrokenReq extends Validate // }}} // {{{ constructor - public function __construct(User $sender, User $user, $email, $comment = null) + public function __construct(User &$sender, User &$user, $email, $comment = null) { parent::__construct($sender, false, 'broken'); - $this->m_user = $user; + $this->m_user = &$user; $this->m_comment = trim($comment); $this->m_email = $email; }