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++; }