2009-05-11 Esteban Sánchez <estebans@artica.es>
* operation/agentes/estado_agente.php: Sets a variable outside an if. Fixes #2785018 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c041149d77
commit
94c58ea91e
|
@ -1,6 +1,26 @@
|
|||
2009-05-11 Esteban Sánchez <estebans@artica.es>
|
||||
|
||||
* operation/agentes/estado_agente.php: Sets a variable outside an if.
|
||||
Fixes #2785018
|
||||
|
||||
2009-05-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
|
||||
|
||||
* operation/agentes/estado_agente.php: Fixed limits (again)
|
||||
|
||||
2009-05-11 Esteban Sánchez <estebans@artica.es>
|
||||
|
||||
* godmode/agentes/agent_manager.php: Show "None" if no server is assigned.
|
||||
Fixes #2768723
|
||||
|
||||
* godmode/agentes/configurar_agente.php: Removed direct link to
|
||||
farscap.artica.es server. Fixed group tab selection.
|
||||
|
||||
* godmode/alerts/alert_list.php: Fixed a notice when there are no agents.
|
||||
Fixes #2786519.
|
||||
|
||||
* general/header.php: Fixed an error when updating agent configuration
|
||||
which was showing all the config in the header. Should be improved for
|
||||
other textarea fields.
|
||||
|
||||
2009-05-07 Esteban Sánchez <estebans@artica.es>
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@ if ($group_id > 1) {
|
|||
$agent_names = get_group_agents (array_keys ($user_group), $search_sql, "upper");
|
||||
}
|
||||
|
||||
$num_agents = 0;
|
||||
if (!empty ($agent_names)) {
|
||||
$num_agents = get_db_sql (sprintf ("SELECT COUNT(*) FROM tagente WHERE id_agente IN (%s)", implode (",", array_keys ($agent_names))));
|
||||
$agents = get_db_all_rows_sql (sprintf ("SELECT * FROM tagente WHERE id_agente IN (%s) ORDER BY nombre ASC LIMIT %d,%d", implode (",", array_keys ($agent_names)), (int) get_parameter ("offset"), $config["block_size"]));
|
||||
|
|
Loading…
Reference in New Issue