From 12a35e62b37078bad2970bedfaee4b3269e96062 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Tue, 9 Nov 2021 20:51:09 -0700 Subject: [PATCH] Fix the dashboard widget delete --- core/dashboard/resources/classes/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dashboard/resources/classes/dashboard.php b/core/dashboard/resources/classes/dashboard.php index 25a07a4b10..0a19709006 100644 --- a/core/dashboard/resources/classes/dashboard.php +++ b/core/dashboard/resources/classes/dashboard.php @@ -95,7 +95,7 @@ if (!class_exists('dashboard')) { $x = 0; foreach ($records as $record) { //add to the array - if ($record['checked'] == 'true' && is_uuid($record['uuid'])) { + if ($record['checked'] == 'true' && is_uuid($record['dashboard_uuid'])) { $array[$this->table][$x]['dashboard_uuid'] = $record['dashboard_uuid']; } @@ -258,4 +258,4 @@ if (!class_exists('dashboard')) { } } -?> \ No newline at end of file +?>