2011-11-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed sql error in agents_get_agents function. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d23c35e623
commit
765f78ee12
|
@ -1,3 +1,8 @@
|
|||
2011-11-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/functions_agents.php: Fixed sql error in agents_get_agents
|
||||
function.
|
||||
|
||||
2011-11-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager.php: Fixed an sql error.
|
||||
|
|
|
@ -377,6 +377,7 @@ function agents_get_agents ($filter = false, $fields = false, $access = 'AR', $o
|
|||
$sql_extra = enterprise_hook('policies_get_agents_sql_condition');
|
||||
|
||||
if($sql_extra != ENTERPRISE_NOT_HOOK) {
|
||||
if (!empty($sql_extra))
|
||||
$where = sprintf('%s OR %s', $where, $sql_extra);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue