From: x2003bruneau Date: Sun, 15 Oct 2006 08:50:08 +0000 (+0000) Subject: #509: Can see the trombi for promo 2006 X-Git-Tag: xorg/0.9.11~13 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1df0c8f9d84a597926c01181c19c762689204384;p=platal.git #509: Can see the trombi for promo 2006 git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@979 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/profile.php b/modules/profile.php index 72b517e..1b9b35b 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -649,7 +649,7 @@ class ProfileModule extends PLModule $this->promo = $promo = intval($promo); - if ($promo >= 1900 && $promo < intval(date('Y')) + if ($promo >= 1900 && && ($promo < intval(date('Y')) || ($promo == intval(date('Y')) && intval(date('m')) >= 9)) || ($promo == -1 && S::has_perms())) { $trombi = new Trombi(array($this, '_trombi_getlist'));