diff options
author | Mario <mario@mariovavti.com> | 2020-06-01 14:46:47 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-06-01 14:46:47 +0200 |
commit | 9da8e30c378a58a89d3eeaf2f29d8c8774128235 (patch) | |
tree | 93d4930c3cf4216a434dcac41c966702ec4d1395 /Zotlabs/Module | |
parent | d0c7c99d5e1eb27281431231640c7e8c019b90e1 (diff) | |
parent | 6bfac1a9076b25c5c1cd9467e9051544f40d512e (diff) | |
download | volse-hubzilla-9da8e30c378a58a89d3eeaf2f29d8c8774128235.tar.gz volse-hubzilla-9da8e30c378a58a89d3eeaf2f29d8c8774128235.tar.bz2 volse-hubzilla-9da8e30c378a58a89d3eeaf2f29d8c8774128235.zip |
Merge branch 'fix-invite-code-deletion' into 'dev'
Fix invite code deletion
See merge request hubzilla/core!1857
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Register.php b/Zotlabs/Module/Register.php index bc813f8e1..278cf15ca 100644 --- a/Zotlabs/Module/Register.php +++ b/Zotlabs/Module/Register.php @@ -118,7 +118,7 @@ class Register extends Controller { $invite_code = ((x($_POST,'invite_code')) ? notags(trim($_POST['invite_code'])) : ''); if($using_invites && $invite_code) { - q("delete * from register where hash = '%s'", dbesc($invite_code)); + q("delete from register where hash = '%s'", dbesc($invite_code)); // @FIXME - this also needs to be considered when using 'invites_remaining' in mod/invite.php set_aconfig($result['account']['account_id'],'system','invites_remaining',$num_invites); } |