fixed error with dashboard home page
This commit is contained in:
parent
9a65b61e25
commit
cc16d80a00
|
@ -685,6 +685,11 @@ if (! isset($config['id_user'])) {
|
|||
unset($query_params_redirect['sec2']);
|
||||
}
|
||||
|
||||
// Dashboard do not want sec2.
|
||||
if ($home_page == 'Dashboard') {
|
||||
unset($query_params_redirect['sec2']);
|
||||
}
|
||||
|
||||
$redirect_url = '?logged=1';
|
||||
foreach ($query_params_redirect as $key => $value) {
|
||||
if ($key == 'login') {
|
||||
|
|
Loading…
Reference in New Issue