mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix signup 500 when close register
This commit is contained in:
+4
-1
@@ -23,7 +23,10 @@ if ($type == 'invite')
|
||||
{
|
||||
registration_check();
|
||||
failedloginscheck ("Invite signup");
|
||||
$code = $_GET["invitenumber"];
|
||||
$code = $_GET["invitenumber"] ?? '';
|
||||
if (empty($code)) {
|
||||
stderr($lang_signup['std_error'], "Require invitenumber");
|
||||
}
|
||||
|
||||
$nuIP = getip();
|
||||
$dom = @gethostbyaddr($nuIP);
|
||||
|
||||
Reference in New Issue
Block a user