From 6cf4da8d8ae086cb6bde17e8ca0c081308fbb88f Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 6 May 2015 13:08:30 +0200 Subject: [PATCH] Fixed error when load data in action alert in manage alerts, tiquet: #2088 --- pandora_console/godmode/alerts/configure_alert_action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/alerts/configure_alert_action.php b/pandora_console/godmode/alerts/configure_alert_action.php index c059bf898d..10738a7e2b 100644 --- a/pandora_console/godmode/alerts/configure_alert_action.php +++ b/pandora_console/godmode/alerts/configure_alert_action.php @@ -286,7 +286,7 @@ $(document).ready (function () { else { $('#table_macros-field' + i).replaceWith(field_row); - if (old_value != '' && old_recovery_value != ''){ + if (old_value != '' || old_recovery_value != ''){ $("[name=field" + i + "_value]").val(old_value); $("[name=field" + i + "_recovery_value]").val(old_recovery_value); }