From 95254341ce0c3a0c1d732df90dc15df8ee7c81fe Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Mon, 15 Jul 2019 11:53:25 +0200 Subject: [PATCH] add condition to check if agent interval token should be updated in massive operations based on previous result --- pandora_console/godmode/massive/massive_edit_agents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/massive/massive_edit_agents.php b/pandora_console/godmode/massive/massive_edit_agents.php index 668eca53de..ec6c49d8a8 100755 --- a/pandora_console/godmode/massive/massive_edit_agents.php +++ b/pandora_console/godmode/massive/massive_edit_agents.php @@ -199,7 +199,7 @@ if ($update_agents) { } // Update the configuration files. - if ($old_interval_value != $values['intervalo']) { + if ($result && ($old_interval_value != $values['intervalo'])) { enterprise_hook( 'config_agents_update_config_token', [