From: web Date: Sun, 15 Oct 2006 08:52:06 +0000 (+0000) Subject: Oops X-Git-Tag: xorg/0.9.11~12 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2cc5fa660594e6a1db3a2fac3f743fe7ccd29f1f;p=platal.git Oops git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@980 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/profile.php b/modules/profile.php index 1b9b35b..a257fbe 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')) || ($promo == intval(date('Y')) && intval(date('m')) >= 9)) + 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'));