Browse Source

Delete needs to include dashboard_groups

FusionPBX 1 năm trước cách đây
mục cha
commit
79dafc10c0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      core/dashboard/resources/classes/dashboard.php

+ 1 - 0
core/dashboard/resources/classes/dashboard.php

@@ -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