fix task summary
This commit is contained in:
parent
86491e3a78
commit
10d3b67bfa
|
@ -1450,17 +1450,17 @@ class DiscoveryTaskList extends HTML
|
||||||
|
|
||||||
// Header information.
|
// Header information.
|
||||||
if ((int) $task['status'] <= 0 && empty($summary)) {
|
if ((int) $task['status'] <= 0 && empty($summary)) {
|
||||||
if ($task['type'] == DISCOVERY_APP_VMWARE && $task['utimestamp'] != 0) {
|
if ((int) $task['utimestamp'] !== 0) {
|
||||||
$outputMessage = __('Task completed.');
|
$output .= $this->progressTaskGraph($task);
|
||||||
} else {
|
} else {
|
||||||
$outputMessage = __('This task has never executed');
|
$outputMessage = __('This task has never executed');
|
||||||
}
|
|
||||||
|
|
||||||
$output .= ui_print_info_message(
|
$output .= ui_print_info_message(
|
||||||
$outputMessage,
|
$outputMessage,
|
||||||
'',
|
'',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
}
|
||||||
} else if ($task['status'] == 1
|
} else if ($task['status'] == 1
|
||||||
|| ($task['utimestamp'] == 0 && $task['interval_sweep'])
|
|| ($task['utimestamp'] == 0 && $task['interval_sweep'])
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue