From 8071a459124cc3d9342a670ef8f74630eed6b269 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Mon, 15 Nov 2010 17:07:30 +0000 Subject: [PATCH] =?UTF-8?q?2010-11-15=20=20Ra=C3=BAl=20Mateos=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * include/functions_events.php: Show text in Agent detail when no events found. Commented old code. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_events.php | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 97edfba615..10040394c3 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-11-15 Raúl Mateos + + * include/functions_events.php: Show text in Agent detail when no events + found. Commented old code. + 2010-11-15 Miguel de Dios * operation/agentes/estado_ultimopaquete.php: fixed the single quote instead diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 7649d62fba..e2a9af3650 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -287,10 +287,10 @@ function print_events_table ($filter = "", $limit = 10, $width = 440, $return = if ($result === false) { $return = '
'.__('No events').'
'; - if ($return === false) { - echo $return; - } - return $return; +# if ($return === false) { +# echo $return; +# } + echo $return; } else { $table->cellpadding = 4; $table->cellspacing = 4;