From 5aa944e3e70b333f0d64bce599e41f39ccf35dc1 Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:02:59 -0700 Subject: [PATCH] Dashboard - Fixed minor bug with details state (#6999) --- core/dashboard/dashboard_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dashboard/dashboard_edit.php b/core/dashboard/dashboard_edit.php index dcc6ef58f6..903cb4babe 100644 --- a/core/dashboard/dashboard_edit.php +++ b/core/dashboard/dashboard_edit.php @@ -318,7 +318,7 @@ } //add a default value to $dashboard_details_state - if (!isset($row['dashboard_details_state']) && in_array($dashboard_path, ['app/voicemails/resources/dashboard/voicemails.php', 'app/xml_cdr/resources/dashboard/missed_calls.php', 'app/xml_cdr/resources/dashboard/recent_calls.php'])) { + if (!isset($dashboard_details_state) && in_array($dashboard_path, ['app/voicemails/resources/dashboard/voicemails.php', 'app/xml_cdr/resources/dashboard/missed_calls.php', 'app/xml_cdr/resources/dashboard/recent_calls.php'])) { $dashboard_details_state = "hidden"; } if (!isset($dashboard_details_state)) {