#509: Can see the trombi for promo 2006
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 15 Oct 2006 08:50:08 +0000 (08:50 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 15 Oct 2006 08:50:08 +0000 (08:50 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@979 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/profile.php

index 72b517e..1b9b35b 100644 (file)
@@ -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'));