Fix the dashboard widget delete

This commit is contained in:
markjcrane 2021-11-09 20:51:09 -07:00
parent d2e2ffba91
commit 12a35e62b3
1 changed files with 2 additions and 2 deletions

View File

@ -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')) {
}
}
?>
?>