* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$user->id(), $user->profile()->yearPromo());
$mmlist = new MMList($user);
$mmlist->subscribe('promo' . $user->profile()->yearPromo());
$user->id(), $user->profile()->yearPromo());
$mmlist = new MMList($user);
$mmlist->subscribe('promo' . $user->profile()->yearPromo());
- return ($mlCount == 0);
+ if ($mlCount == 0) {
+ $mmlist = new MMList($user);
+ try {
+ $mmlist->get_members_limit('promo' + $user->profile()->yearPromo(),
+ 0, 0);
+ } catch (Exception $e) {
+ return false;
+ }
+ }
+ return false;