diff options
author | jeroenpraat <jeroenpraat@xs4all.nl> | 2015-11-20 00:50:54 +0100 |
---|---|---|
committer | jeroenpraat <jeroenpraat@xs4all.nl> | 2015-11-20 00:50:54 +0100 |
commit | c7652fc29ce2d69a6d71d6d8a928709cbf6ebbb0 (patch) | |
tree | ee1d29ec1bda74ead76b44c1eb2eb885d9c9b03f /mod/invite.php | |
parent | e537d53389f383cf26c5d9c1da05483c09aa439d (diff) | |
download | volse-hubzilla-c7652fc29ce2d69a6d71d6d8a928709cbf6ebbb0.tar.gz volse-hubzilla-c7652fc29ce2d69a6d71d6d8a928709cbf6ebbb0.tar.bz2 volse-hubzilla-c7652fc29ce2d69a6d71d6d8a928709cbf6ebbb0.zip |
Had to switch these 2. Sorry.
Diffstat (limited to 'mod/invite.php')
-rw-r--r-- | mod/invite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/invite.php b/mod/invite.php index 1af5fc1f8..bda808142 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -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') ", |