mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix the dashboard widget delete
This commit is contained in:
@@ -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')) {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user