mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-20 05:06:23 +01:00
Fix phpstan
This commit is contained in:
@@ -17,7 +17,7 @@ if ((!setting('core.mail_enabled')) && ACTION == 'email-code') {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($account_logged) || !$account_logged->isLoaded()) {
|
if (!$account_logged->isLoaded()) {
|
||||||
$current_session = getSession('account');
|
$current_session = getSession('account');
|
||||||
if($current_session) {
|
if($current_session) {
|
||||||
$account_logged = new OTS_Account();
|
$account_logged = new OTS_Account();
|
||||||
|
|||||||
Reference in New Issue
Block a user