mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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) {
|
if (!$running) {
|
||||||
$data[5] = '';
|
$data[5] = '';
|
||||||
if ($type_downtime != 'disable_agents_alerts'
|
if ($type_downtime !== 'disable_agents') {
|
||||||
&& $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>';
|
$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…
x
Reference in New Issue
Block a user