added condition in agent massive edition

This commit is contained in:
alejandro-campos 2019-10-07 19:02:19 +02:00
parent dc3dd1cffa
commit 646f2607ab

View File

@ -199,7 +199,7 @@ if ($update_agents) {
}
// Update the configuration files.
if ($result && ($old_interval_value != $values['intervalo'])) {
if ($result && ($old_interval_value != $values['intervalo']) && !empty($values['intervalo'])) {
enterprise_hook(
'config_agents_update_config_token',
[