diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8f1bb432a2..f7675ce673 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,17 +1,6 @@ -2009-05-11 Esteban Sánchez +2009-05-11 Evi Vanoost - * 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. + * operation/agentes/estado_agente.php: Fixed limits (again) 2009-05-07 Esteban Sánchez diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index 27b764c00e..1c8292d96d 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -93,7 +93,7 @@ if ($group_id > 1) { 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)))); + $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"])); } if (empty ($agents)) {