X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations.inc.php;h=7c87d4c2a0a6cb1280a211caea295bcbca3af849;hb=7e82b5458fe9ecb07a923daacc5319b07901a848;hp=1600a1bb2acee772b4ddf282cbb4e8309e8d0d81;hpb=e33b29e5c75ec3dd8ddcc2fac2509f862bb18596;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;