X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations.inc.php;h=7c87d4c2a0a6cb1280a211caea295bcbca3af849;hb=85ddf64feaef343f5eb818bff53fc3c718428c59;hp=1600a1bb2acee772b4ddf282cbb4e8309e8d0d81;hpb=c52be69950d31821a8a091f08ad9170e1042eaf8;p=platal.git diff --git a/include/validations.inc.php b/include/validations.inc.php index 1600a1b..7c87d4c 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -1,6 +1,6 @@ user = &$_user; $this->stamp = date('YmdHis'); @@ -463,7 +463,7 @@ abstract class ProfileValidate extends Validate * @param $_unique: set to false if a profile can have multiple requests of this type. * @param $_type: request's type. */ - public function __construct(User &$_user, Profile &$_profile, $_unique, $_type) + public function __construct(User $_user, Profile $_profile, $_unique, $_type) { parent::__construct($_user, $_unique, $_type); $this->profile = &$_profile;