Skip to content

Commit

Permalink
fixed problems with invalid account id
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoffy committed Mar 7, 2023
1 parent 8236027 commit 83ea90f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
redirect_header('account.php', 3, _MA_WGEVENTS_INVALID_PARAM);
} else {
$accountObj = $helper->getHandler('Account')->get($accId);
if (!\is_object($accountObj)) {
redirect_header('account.php', 3, _MA_WGEVENTS_INVALID_PARAM);
}
}

$account_server_in = $accountObj->getVar('server_in');
Expand Down

0 comments on commit 83ea90f

Please sign in to comment.