From 2653b32c86a193f20ddff23b1eca34f4c8956316 Mon Sep 17 00:00:00 2001 From: vgilc Date: Thu, 16 Feb 2012 13:21:43 +0000 Subject: [PATCH] 2012-02-16 Vanessa Gil * operation/events/events_list: Changed user name to event list. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 3 +++ pandora_console/operation/events/events_list.php | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2f12eec154..63e4d15a87 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,6 +1,9 @@ 2012-02-16 Vanessa Gil * operation/events/events_list: Changed user name to event list. +2012-02-16 Vanessa Gil + * operation/events/events_list: Changed user name to event list. + 2012-02-16 Vanessa Gil * operation/events/events.php operation/events/events_list: Show checkbox 'Set alert on stand by' diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index d989cb4ac9..dc1b29609a 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -727,9 +727,8 @@ foreach ($result as $event) { $i++; } + $user_name = db_get_value('fullname', 'tusuario', 'id_user', $event['id_usuario']); if (in_array('id_usuario',$show_fields)) { - $id_user = $event["id_usuario"]; - $user_name = db_get_value('fullname', 'tusuario', 'id_user', $id_user); $data[$i] = $user_name; $i++; }