Minor correction for null-types
This commit is contained in:
parent
65c2254b0c
commit
e4e07e120a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if(CaptchaManager::getCaptcha($session->getPeerUuid())->isExpired())
|
if(CaptchaManager::getCaptcha($session->getPeerUuid())?->isExpired())
|
||||||
{
|
{
|
||||||
return $rpcRequest->produceError(StandardError::CAPTCHA_EXPIRED, 'The captcha has expired');
|
return $rpcRequest->produceError(StandardError::CAPTCHA_EXPIRED, 'The captcha has expired');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue