diff options
-rw-r--r-- | Zotlabs/Module/Regate.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Regate.php b/Zotlabs/Module/Regate.php index 0bca68a0b..9a3be1e1c 100644 --- a/Zotlabs/Module/Regate.php +++ b/Zotlabs/Module/Regate.php @@ -135,13 +135,12 @@ class Regate extends \Zotlabs\Web\Controller { intval($r['reg_id']) ); - - if ( ($flags & ACCOUNT_PENDING ) == ACCOUNT_PENDING ) { + if (($flags & ACCOUNT_PENDING ) == ACCOUNT_PENDING) { $msg .= "\n".t('Last step will be by an instance admin to agree your account request'); $nextpage = 'regate/' . bin2hex($did2) . $didx; q("COMMIT"); } - elseif ( ($flags ^ REGISTER_AGREED) == 0) { + elseif (($flags ^ REGISTER_AGREED) == 0) { $cra = create_account_from_register([ 'reg_id' => $r['reg_id'] ]); |