X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations.inc.php;h=050318c042db14e38fec6d78546a310ebd30ad71;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=51003594f62504ba85a1dc5d630d22f5d8c7e8a7;hpb=a959b199b8f4790bf311c4e9c4b96b4ffb494eeb;p=platal.git diff --git a/include/validations.inc.php b/include/validations.inc.php index 5100359..050318c 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -85,6 +85,7 @@ abstract class Validate $this->stamp = date('YmdHis'); $this->unique = $_unique; $this->type = $_type; + $this->promo = $this->user->promo(); } // }}}