Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
musicman3 committed Aug 3, 2021
1 parent 48bfed9 commit 85fefe9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions model/eMarket/Admin/#.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ public function autorize() {
if (isset($_SESSION['session_page'])) {
$session_page = $_SESSION['session_page'];
unset($_SESSION['session_page']);
if ($session_page == '/controller/admin/') {
$session_page = '?route=dashboard';
}
Messages::alert('autorize', 'success', lang('action_completed_successfully'), 0, true);
header('Location: ' . $session_page);
} else {
Expand Down

0 comments on commit 85fefe9

Please # to comment.