mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
avoid review for non H&D tasks
This commit is contained in:
parent
dd08b7937c
commit
8f2109003b
@ -562,6 +562,7 @@ class DiscoveryTaskList extends HTML
|
||||
} else {
|
||||
if ($task['status'] <= 0
|
||||
&& empty($task['summary']) === false
|
||||
&& (int) $task['type'] === DISCOVERY_HOSTDEVICES
|
||||
) {
|
||||
$can_be_reviewed = true;
|
||||
$data[5] = '<span class="link review" onclick="show_review('.$task['id_rt'].',\''.$task['name'].'\')">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user