mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-20 13:16:23 +01:00
Fix phpstan
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user