mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
2014-06-05 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php: Fix sql error in the layer that appears when put the mouse over a node in network map related with tags in users without acl profiles assigned (just admin assigned) Ticket #824 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c58be14d5d
commit
dd17853210
@ -1,3 +1,9 @@
|
|||||||
|
2014-06-05 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* operation/agentes/ver_agente.php: Fix sql error in the layer that
|
||||||
|
appears when put the mouse over a node in network map related with tags
|
||||||
|
in users without acl profiles assigned (just admin assigned) Ticket #824
|
||||||
|
|
||||||
2014-06-05 Sergio Martin <sergio.martin@artica.es>
|
2014-06-05 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* operation/search_agents.php: Change the format of the agent interval
|
* operation/search_agents.php: Change the format of the agent interval
|
||||||
|
@ -473,8 +473,9 @@ if (is_ajax ()) {
|
|||||||
|
|
||||||
$_tags = implode(',', array_keys($_user_tags));
|
$_tags = implode(',', array_keys($_user_tags));
|
||||||
|
|
||||||
$_sql_post .= ' AND tagente_modulo.id_agente_modulo IN (SELECT a.id_agente_modulo FROM tagente_modulo a, ttag_module b WHERE a.id_agente_modulo=b.id_agente_modulo AND b.id_tag IN (' . $_tags . ')) ';
|
if (!empty($_tags)) {
|
||||||
|
$_sql_post .= ' AND tagente_modulo.id_agente_modulo IN (SELECT a.id_agente_modulo FROM tagente_modulo a, ttag_module b WHERE a.id_agente_modulo=b.id_agente_modulo AND b.id_tag IN (' . $_tags . ')) ';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = sprintf ('SELECT tagente_modulo.descripcion,
|
$sql = sprintf ('SELECT tagente_modulo.descripcion,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user