Oops.
authorStéphane Jacob <sj@m4x.org>
Mon, 6 Jun 2011 11:08:01 +0000 (13:08 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 6 Jun 2011 11:08:01 +0000 (13:08 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/marketing.php

index fdcdbaf..08e46ca 100644 (file)
@@ -52,7 +52,7 @@ class MarketingModule extends PLModule
         $registered = array(
             'all'    => new ProfileFilter(new PFC_And(new UFC_Registered(true), new PFC_Not(new UFC_Dead()))),
             'women'  => new ProfileFilter(new PFC_And(new UFC_Registered(true), new UFC_Sex(User::GENDER_FEMALE), new PFC_Not(new UFC_Dead()))),
-            'x'      => new ProfileFilter(new PFC_And(new UFC_Registered(true), new PFC_Not(new UFC_Dead(), new UFC_AccountType('x')))),
+            'x'      => new ProfileFilter(new PFC_And(new UFC_Registered(true), new PFC_Not(new UFC_Dead()), new UFC_AccountType('x'))),
             '72'     => new ProfileFilter(new PFC_And(new UFC_Registered(true), new UFC_Promo('>=', UserFilter::GRADE_ING, 1972), new PFC_Not(new UFC_Dead()))),
             'master' => new ProfileFilter(new PFC_And(new UFC_Registered(true), new PFC_Not(new UFC_Dead()), new UFC_AccountType('master'))),
             'phd'    => new ProfileFilter(new PFC_And(new UFC_Registered(true), new PFC_Not(new UFC_Dead()), new UFC_AccountType('phd')))