diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-03 18:28:32 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-03 18:28:32 -0800 |
commit | 4b707db4b3411029c3a277bced26f139fafe7b90 (patch) | |
tree | 24a7b45f44aa7f6882d4577d03cf661e536579cb | |
parent | 70c5f347c4104c9cd64617630d2772821c83ad37 (diff) | |
parent | 5217d89543912aec870f27282b99d8e5e7920c57 (diff) | |
download | volse-hubzilla-4b707db4b3411029c3a277bced26f139fafe7b90.tar.gz volse-hubzilla-4b707db4b3411029c3a277bced26f139fafe7b90.tar.bz2 volse-hubzilla-4b707db4b3411029c3a277bced26f139fafe7b90.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
-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 bda808142..1af5fc1f8 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) . srand(1000,9999); + $code = autoname(8) . rand(1000,9999); $nmessage = str_replace('$invite_code',$code,$message); $r = q("INSERT INTO `register` (`hash`,`created`) VALUES ('%s', '%s') ", |