Fix phpstan

This commit is contained in:
slawkens
2026-01-18 21:56:52 +01:00
parent babd822171
commit a44e2d6ebe

View File

@@ -17,7 +17,7 @@ if ((!setting('core.mail_enabled')) && ACTION == 'email-code') {
return;
}
if (!isset($account_logged) || !$account_logged->isLoaded()) {
if (!$account_logged->isLoaded()) {
$current_session = getSession('account');
if($current_session) {
$account_logged = new OTS_Account();