Oops
authorweb <web@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 15 Oct 2006 08:52:06 +0000 (08:52 +0000)
committerweb <web@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 15 Oct 2006 08:52:06 +0000 (08:52 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@980 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/profile.php

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