aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Invite.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-13 16:25:50 -0700
committerzotlabs <mike@macgirvin.com>2018-06-13 16:25:50 -0700
commit254a6be277e8536ae101faa429805fcbd6382d61 (patch)
tree5c646cef6d772038937a8b2002f3806807105718 /Zotlabs/Module/Invite.php
parent912ccb31a133c09b28890f0bab5be5ce1f7f95d4 (diff)
downloadvolse-hubzilla-254a6be277e8536ae101faa429805fcbd6382d61.tar.gz
volse-hubzilla-254a6be277e8536ae101faa429805fcbd6382d61.tar.bz2
volse-hubzilla-254a6be277e8536ae101faa429805fcbd6382d61.zip
null db fields in mod_invite
Diffstat (limited to 'Zotlabs/Module/Invite.php')
-rw-r--r--Zotlabs/Module/Invite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php
index 0bcd1c1fa..4722a7ee5 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) VALUES ('%s', '%s') ",
+ $r = q("INSERT INTO register (hash,created,uid,password,lang) VALUES ('%s', '%s','','','') ",
dbesc($invite_code),
dbesc(datetime_convert())
);