mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Merge branch 'ent-5973-fallo-en-la-pantalla-de-inicio-de-usuario-cuando-es-un-dashboard' into 'develop'
fixed error with dashboard home page See merge request artica/pandorafms!3301
This commit is contained in:
commit
4e6528bd3b
@ -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