From 1df0c8f9d84a597926c01181c19c762689204384 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Sun, 15 Oct 2006 08:50:08 +0000 Subject: [PATCH] #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 --- modules/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); -- 2.1.4