From e128bdd85013a6efb5710cb909226d303c7ab60a Mon Sep 17 00:00:00 2001 From: fusionate Date: Tue, 28 May 2024 08:08:17 -0600 Subject: [PATCH] Dashboard - New Messages: Mitigate PHP 8.x+ warnings. --- app/voicemails/resources/dashboard/voicemails.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/voicemails/resources/dashboard/voicemails.php b/app/voicemails/resources/dashboard/voicemails.php index 36639ff332..bf24328fc4 100644 --- a/app/voicemails/resources/dashboard/voicemails.php +++ b/app/voicemails/resources/dashboard/voicemails.php @@ -55,7 +55,7 @@ echo "
\n"; echo " ".$text['label-new_messages'].""; - if ($row['dashboard_chart_type'] == "doughnut") { + if (isset($row['dashboard_chart_type']) && $row['dashboard_chart_type'] == "doughnut") { //add doughnut chart ?>
@@ -100,7 +100,7 @@ ".$messages['new'].""; } echo "
\n";