mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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']);
|
unset($query_params_redirect['sec2']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Dashboard do not want sec2.
|
||||||
|
if ($home_page == 'Dashboard') {
|
||||||
|
unset($query_params_redirect['sec2']);
|
||||||
|
}
|
||||||
|
|
||||||
$redirect_url = '?logged=1';
|
$redirect_url = '?logged=1';
|
||||||
foreach ($query_params_redirect as $key => $value) {
|
foreach ($query_params_redirect as $key => $value) {
|
||||||
if ($key == 'login') {
|
if ($key == 'login') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user