2011-03-23 Miguel de Dios <miguel.dedios@artica.es>

* operation/agentes/estado_agente.php: fixed the output of ajax request.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-03-23 17:44:44 +00:00
parent e10d9b9746
commit c82bc2c0dc
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-03-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the output of ajax request.
2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,

View File

@ -16,6 +16,8 @@
// Load global vars
global $config;
ob_start();
require_once ("include/functions_reporting.php");
check_login ();
@ -27,6 +29,8 @@ if (! check_acl ($config['id_user'], 0, "AR")) {
}
if (is_ajax ()) {
ob_get_clean();
$get_agent_module_last_value = (bool) get_parameter ('get_agent_module_last_value');
$get_actions_alert_template = (bool) get_parameter("get_actions_alert_template");
@ -75,6 +79,7 @@ if (is_ajax ()) {
return;
}
ob_end_clean();
$first = true;
while ($row = get_db_all_row_by_steps_sql($first, $result, "SELECT * FROM tgrupo")) {