mirror of https://github.com/MISP/MISP
fix: [dashboards] fixed invalid recall of dashboard template
parent
8d02332b31
commit
6773b8d799
|
@ -33,7 +33,7 @@ class DashboardsController extends AppController
|
|||
throw new NotFoundException(__('Invalid dashboard template.'));
|
||||
}
|
||||
}
|
||||
if (empty($userSettings)) {
|
||||
if (empty($userSettings) && empty($dashboardTemplate)) {
|
||||
$dashboardTemplate = $this->Dashboard->getDashboardTemplate($this->Auth->user());
|
||||
}
|
||||
if (empty($userSettings)) {
|
||||
|
|
Loading…
Reference in New Issue