2013-10-04 Sergio Martin <sergio.martin@artica.es>

* include/functions_events.php: Fixed ACLs in responses combo
	in detailed view of an agent for incident #226



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-10-04 12:27:42 +00:00
parent 39a1058da8
commit c216b6fd9e
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-10-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Fixed ACLs in responses combo
in detailed view of an agent for incident #226
2013-10-04 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: fixed the show strict error in PHP

View File

@ -1678,8 +1678,11 @@ function events_page_responses ($event) {
// Custom responses
$data = array();
$data[0] = __('Custom responses');
$event_responses = db_get_all_rows_in_table('tevent_response');
$id_groups = array_keys(users_get_groups(false, "EW"));
$event_responses = db_get_all_rows_filter('tevent_response',
array('id_group' => $id_groups));
if(empty($event_responses)) {
$data[1] = '<i>'.__('N/A').'</i>';
}