diff --git a/modules/dashboard/widgets/stampa_calendario.dashboard.php b/modules/dashboard/widgets/stampa_calendario.dashboard.php index dc9321d02..a464d5c8e 100755 --- a/modules/dashboard/widgets/stampa_calendario.dashboard.php +++ b/modules/dashboard/widgets/stampa_calendario.dashboard.php @@ -20,9 +20,10 @@ include_once __DIR__.'/../../../core.php'; use Carbon\Carbon; +use Models\Module; // Trovo id_print della stampa -$id_print = Prints::getModulePredefinedPrint('Dashboard')['id']; +$id_print = Prints::getModulePredefinedPrint((new Module())->getByName('Dashboard')->id_record)['id']; $date = new Carbon($_SESSION['dashboard']['date']); echo '