diff --git a/src/SpecialConfirmAccounts.php b/src/SpecialConfirmAccounts.php index b574d64..4793e60 100755 --- a/src/SpecialConfirmAccounts.php +++ b/src/SpecialConfirmAccounts.php @@ -451,7 +451,7 @@ function execute( $par ) { return $this->searchByUsername($request->getText('username'), $request, $output); } else if (isset(statuses[$par])) { return $this->listRequestsByStatus($par, $output); - } else if (ctype_digit($par)) { + } else if (ctype_digit($par ?? '')) { return requestPage($par, 'admin', $this, $request->getSession()); } else if (empty($par)) { return $this->defaultPage($output);