Had to switch these 2. Sorry.
This commit is contained in:
parent
e537d53389
commit
c7652fc29c
@ -51,7 +51,7 @@ function invite_post(&$a) {
|
||||
}
|
||||
|
||||
if($invonly && ($x || is_site_admin())) {
|
||||
$code = autoname(8) . rand(1000,9999);
|
||||
$code = autoname(8) . srand(1000,9999);
|
||||
$nmessage = str_replace('$invite_code',$code,$message);
|
||||
|
||||
$r = q("INSERT INTO `register` (`hash`,`created`) VALUES ('%s', '%s') ",
|
||||
|
@ -1,3 +1,4 @@
|
||||
<div class="generic-content-wrapper-styled">
|
||||
<form action="invite" method="post" id="invite-form" >
|
||||
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
@ -28,3 +29,4 @@
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user