|
@@ -108,7 +108,7 @@ View::show_header('Invites', $JSIncludes);
|
108
|
108
|
<a href="user.php?action=invitetree<? if ($Sneaky) { echo '&userid='.$UserID; } ?>" class="brackets">Invite tree</a>
|
109
|
109
|
</div>
|
110
|
110
|
</div>
|
111
|
|
-<? if (!($UserCount <= USER_LIMIT || USER_LIMIT == 0 || check_perms('site_can_invite_always'))) { ?>
|
|
111
|
+<? if ($UserCount >= USER_LIMIT && USER_LIMIT != 0 && !check_perms('site_can_invite_always')) { ?>
|
112
|
112
|
<div class="box pad notice">
|
113
|
113
|
<p>Because the user limit has been reached you are unable to send invites at this time.</p>
|
114
|
114
|
</div>
|