From ba8d30ecb0eb8300d0d739beb8f928045ac6a90a Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 8 Mar 2024 16:32:50 +0100 Subject: [PATCH] Fix minore --- modules/dashboard/widgets/stampa_calendario.dashboard.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 '