diff options
Diffstat (limited to 'ui/app/controllers/CControllerDashboardPrint.php')
-rw-r--r-- | ui/app/controllers/CControllerDashboardPrint.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/controllers/CControllerDashboardPrint.php b/ui/app/controllers/CControllerDashboardPrint.php index 724ae1d15b4..4dc3a5886a6 100644 --- a/ui/app/controllers/CControllerDashboardPrint.php +++ b/ui/app/controllers/CControllerDashboardPrint.php @@ -63,7 +63,7 @@ class CControllerDashboardPrint extends CController { $data = [ 'dashboard' => $dashboard, - 'widget_defaults' => CWidgetConfig::getDefaults(CWidgetConfig::CONTEXT_DASHBOARD), + 'widget_defaults' => APP::ModuleManager()->getWidgetsDefaults(), 'time_period' => getTimeSelectorPeriod($time_selector_options) ]; |