2011-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/functions_agents.php: Changed parameter in 
	policies_get_modules_sql_condition function call. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-28 08:23:28 +00:00
parent 4535b4c7bf
commit c7f5f33f69
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2011-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Changed parameter in
policies_get_modules_sql_condition function call.
2011-11-28 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Fixed the open version of

View File

@ -960,7 +960,7 @@ function agents_get_modules ($id_agent = null, $details = false, $filter = false
$id_agent = safe_int ($id_agent, 1);
$extra_sql = enterprise_hook('policies_get_modules_sql_condition', (array)$id_agent);
$extra_sql = enterprise_hook('policies_get_modules_sql_condition', array($id_agent));
if ($extra_sql === ENTERPRISE_NOT_HOOK) {
$extra_sql = '';
}else if ($extra_sql != '') {