diff --git a/Library/Controller/Admin/Invite.php b/Library/Controller/Admin/Invite.php index d1e1a066..ef08af79 100644 --- a/Library/Controller/Admin/Invite.php +++ b/Library/Controller/Admin/Invite.php @@ -48,7 +48,7 @@ public function add() { } if($inviteNumber > 1) { for($i=0; $i<$inviteNumber;$i++){ - InviteModel::addInvite($user->uid, $plan); + InviteModel::addInvite(-1, $plan); } } else { InviteModel::addInvite(-1, $plan); diff --git a/Template/Default/admin/invite.htm b/Template/Default/admin/invite.htm index 84a5dc1e..b1b8aab2 100644 --- a/Template/Default/admin/invite.htm +++ b/Template/Default/admin/invite.htm @@ -115,7 +115,7 @@
- +
@@ -123,6 +123,18 @@ +
+
+ +
+ + + +
+ +
+
+