Browse Source

Merge branch 'fix-user-limit-notice' of Syunka/Gazelle into master

spaghetti 7 years ago
parent
commit
d090611b16
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/user/invite.php

+ 1
- 1
sections/user/invite.php View File

@@ -108,7 +108,7 @@ View::show_header('Invites', $JSIncludes);
108 108
       <a href="user.php?action=invitetree<? if ($Sneaky) { echo '&amp;userid='.$UserID; } ?>" class="brackets">Invite tree</a>
109 109
     </div>
110 110
   </div>
111
-<? if ($UserCount >= USER_LIMIT && !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>

Loading…
Cancel
Save