Browse Source

Switch to Apollo's invite page which provides invite link for users to copy

ElectraHeart 7 years ago
parent
commit
b69bed43cf
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      sections/user/invite.php

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

@@ -95,7 +95,12 @@ $DB->query("
95 95
 
96 96
 $Invited = $DB->to_array();
97 97
 
98
-View::show_header('Invites');
98
+$JSIncludes = '';
99
+if (check_perms('users_mod') || check_perms('admin_advanced_user_search')) {
100
+  $JSIncludes = 'invites';
101
+}
102
+
103
+View::show_header('Invites', $JSIncludes);
99 104
 
100 105
 ?>
101 106
 <div class="thin">

Loading…
Cancel
Save