2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
* godmode/events/custom_events.php operation/events/events_list.php: Show all groups in event view. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
dde71dfaac
commit
2198c0dba3
|
@ -1,3 +1,8 @@
|
|||
2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
|
||||
* godmode/events/custom_events.php
|
||||
operation/events/events_list.php: Show all groups in
|
||||
event view.
|
||||
|
||||
2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
|
||||
* godmode/events/custom_events.php
|
||||
operation/events/events_list.php: Addes criticity info
|
||||
|
|
|
@ -612,6 +612,9 @@ foreach ($result as $event) {
|
|||
if (in_array('id_grupo',$show_fields)) {
|
||||
$id_group = $event["id_grupo"];
|
||||
$group_name = db_get_value('nombre', 'tgrupo', 'id_grupo', $id_group);
|
||||
if ($id_group == 0) {
|
||||
$group_name = __('All');
|
||||
}
|
||||
$data[$i] = $group_name;
|
||||
$i++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue