Delete needs to include dashboard_groups

This commit is contained in:
FusionPBX
2024-08-02 12:19:08 -06:00
committed by GitHub
parent 720be4a68b
commit 8fd37c6c3c

View File

@@ -87,6 +87,7 @@ if (!class_exists('dashboard')) {
//add to the array
if (!empty($record['checked']) && $record['checked'] == 'true' && is_uuid($record['dashboard_uuid'])) {
$array[$this->table][$x]['dashboard_uuid'] = $record['dashboard_uuid'];
$array[$this->table.'_groups'][$x]['dashboard_uuid'] = $record['dashboard_uuid'];
}
//increment the id