Merge branch 'ent-9780-14458-No-se-ve-informacion-en-tareas-Discovery' into 'develop'

fix task summary

See merge request artica/pandorafms!5313
This commit is contained in:
Rafael Ameijeiras 2022-12-15 13:35:58 +00:00
commit bd509ea4f0
1 changed files with 8 additions and 8 deletions

View File

@ -1450,17 +1450,17 @@ class DiscoveryTaskList extends HTML
// Header information.
if ((int) $task['status'] <= 0 && empty($summary)) {
if ($task['type'] == DISCOVERY_APP_VMWARE && $task['utimestamp'] != 0) {
$outputMessage = __('Task completed.');
if ((int) $task['utimestamp'] !== 0) {
$output .= $this->progressTaskGraph($task);
} else {
$outputMessage = __('This task has never executed');
}
$output .= ui_print_info_message(
$outputMessage,
'',
true
);
$output .= ui_print_info_message(
$outputMessage,
'',
true
);
}
} else if ($task['status'] == 1
|| ($task['utimestamp'] == 0 && $task['interval_sweep'])
) {