diff options
author | zotlabs <mike@macgirvin.com> | 2018-06-13 16:37:16 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-06-13 16:37:16 -0700 |
commit | 65cbc7c2bba523a2663a89fae29b5cef162fd0a1 (patch) | |
tree | 7afc16edc61ecb9ab5698e9c3a3c9df1b2c23052 | |
parent | 1a75e3c24a07e8ae5ca92615d3205a6daaca3811 (diff) | |
download | volse-hubzilla-65cbc7c2bba523a2663a89fae29b5cef162fd0a1.tar.gz volse-hubzilla-65cbc7c2bba523a2663a89fae29b5cef162fd0a1.tar.bz2 volse-hubzilla-65cbc7c2bba523a2663a89fae29b5cef162fd0a1.zip |
uid is integer
-rw-r--r-- | Zotlabs/Module/Invite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php index 4722a7ee5..359f99b3e 100644 --- a/Zotlabs/Module/Invite.php +++ b/Zotlabs/Module/Invite.php @@ -113,7 +113,7 @@ class Invite extends \Zotlabs\Web\Controller { $invite_code = autoname(8) . rand(1000,9999); $nmessage = str_replace('$invite_code',$invite_code,$message); - $r = q("INSERT INTO register (hash,created,uid,password,lang) VALUES ('%s', '%s','','','') ", + $r = q("INSERT INTO register (hash,created,uid,password,lang) VALUES ('%s', '%s',0,'','') ", dbesc($invite_code), dbesc(datetime_convert()) ); |