Merge branch 'ent-8363-edicion-de-paradas-planificadas' into 'develop'
Fix module edidtion on alerts only planned downtime See merge request artica/pandorafms!4608
This commit is contained in:
commit
e1a1281985
|
@ -947,9 +947,7 @@ if (empty($downtimes_agents)) {
|
|||
|
||||
if (!$running) {
|
||||
$data[5] = '';
|
||||
if ($type_downtime != 'disable_agents_alerts'
|
||||
&& $type_downtime != 'disable_agents'
|
||||
) {
|
||||
if ($type_downtime !== 'disable_agents') {
|
||||
$data[5] = '<a href="javascript:show_editor_module('.$downtime_agent['id_agente'].');">'.html_print_image('images/config.png', true, ['border' => '0', 'alt' => __('Delete'), 'class' => 'invert_filter']).'</a>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue