mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed bad sql sintax in agents_get_agents function. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
12f0c69912
commit
9dfee9b358
@ -1,3 +1,8 @@
|
|||||||
|
2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
|
* include/functions_agents.php: Fixed bad sql sintax in
|
||||||
|
agents_get_agents function.
|
||||||
|
|
||||||
2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* include/functions_agents.php: Fixed bad sql sintax in
|
* include/functions_agents.php: Fixed bad sql sintax in
|
||||||
|
@ -395,6 +395,7 @@ function agents_get_agents ($filter = false, $fields = false, $access = 'AR', $o
|
|||||||
$where = sprintf('%s AND (%s OR %s)', $where, $where_nogroup, $sql_extra);
|
$where = sprintf('%s AND (%s OR %s)', $where, $where_nogroup, $sql_extra);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (!empty($where_nogroup))
|
||||||
$where = sprintf('%s AND %s', $where, $where_nogroup);
|
$where = sprintf('%s AND %s', $where, $where_nogroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user