From 254a6be277e8536ae101faa429805fcbd6382d61 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 13 Jun 2018 16:25:50 -0700 Subject: null db fields in mod_invite --- Zotlabs/Module/Invite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Module/Invite.php') 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()) ); -- cgit v1.2.3