2011-07-14 Vanessa Gil <vanessa.gil@artica.es>

* include/functions_agents.php: Fixed bad type returned by the function 'agents_get_modules_data_count'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2011-07-14 15:06:09 +00:00
parent 5a4a4bb76b
commit 56eaaad116
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php: Fixed bad type returned by the function 'agents_get_modules_data_count'.
2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Added "subquery_enterprise" variable

View File

@ -1184,10 +1184,6 @@ function agents_get_modules_data_count ($id_agent = 0) {
}
}
if (!isset ($agent_id)) {
//If agent_id is not set, it didn't loop through any agents
return $count["total"];
}
return $count; //Return the array
}