diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index e35b371de2..dece17dabb 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -499,7 +499,7 @@ if ($agents !== false) { /* Begin Update tagente.remote 0/1 with remote agent function return */ - if(config_agents_has_remote_configuration($agent['id_agente'])){ + if(enterprise_hook('config_agents_has_remote_configuration',$agent['id_agente'])){ db_process_sql_update('tagente', array('remote' => 1),'id_agente = '.$agent['id_agente'].''); } else{ @@ -584,7 +584,7 @@ if ($agents !== false) { // Has remote configuration ? if (enterprise_installed()) { enterprise_include_once('include/functions_config_agents.php'); - if (config_agents_has_remote_configuration($agent["id_agente"])) { + if (enterprise_hook('config_agents_has_remote_configuration',$agent["id_agente"])) { echo " 'middle', "title" => __('Remote config')));