From 74e616e5a8c853b1ff5b01bc72934f88ed686fbe Mon Sep 17 00:00:00 2001 From: ramonn Date: Mon, 13 Jun 2011 12:17:28 +0000 Subject: [PATCH] 2011-06-13 Ramon Novoa * operation/events/events_list.php: Always show pending events. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/operation/events/events_list.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 835860e6dc..848f674b91 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-06-13 Ramon Novoa + + * operation/events/events_list.php: Always show pending events. + 2011-06-13 Sergio Martin * include/functions_graph.php diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index 1c17d125af..25f20d1619 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -128,7 +128,7 @@ if ($id_user_ack != "0") if ($event_view_hr > 0) { $unixtime = get_system_time () - ($event_view_hr * 3600); //Put hours in seconds - $sql_post .= " AND utimestamp > ".$unixtime; + $sql_post .= " AND (utimestamp > ".$unixtime . " OR estado = 2)"; } $url = "index.php?sec=eventos&sec2=operation/events/events&search=" .