Fixed the connection to node in metaconsole when show the data module dialog. TICKET: #1870

(cherry picked from commit eea8e0d8aec49aa43cd3a2f6491bbbcc66a998fc)
This commit is contained in:
mdtrooper 2015-03-02 11:40:45 +01:00
parent b797b900ce
commit ea8662c7bc

View File

@ -1555,7 +1555,9 @@ function modules_get_next_data ($id_agent_module, $utimestamp = 0, $string = 0)
*
* @return array The module value and the timestamp
*/
function modules_get_agentmodule_data ($id_agent_module, $period, $date = 0, $trash=false, $conexion = false, $order = 'ASC') {
function modules_get_agentmodule_data ($id_agent_module, $period,
$date = 0, $trash=false, $conexion = false, $order = 'ASC') {
$module = db_get_row('tagente_modulo', 'id_agente_modulo',
$id_agent_module);