2014-06-06 Hirofumi Kosaka <kosaka@rworks.jp>
* godmode/massive/massive_add_alerts.php: Fixed bug that all agents the user can view would be target of the operation, if the user has an AW privilege for any agent group. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
3246212a0d
commit
ed4fd07ac6
|
@ -1,3 +1,9 @@
|
|||
2014-06-06 Hirofumi Kosaka <kosaka@rworks.jp>
|
||||
|
||||
* godmode/massive/massive_add_alerts.php: Fixed bug that all
|
||||
agents the user can view would be target of the operation, if
|
||||
the user has an AW privilege for any agent group.
|
||||
|
||||
2014-06-05 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/agentes/ver_agente.php: Fix sql error in the layer that
|
||||
|
|
|
@ -147,8 +147,8 @@ $table->data[1][0] .= '</span>';
|
|||
$agents_alerts = alerts_get_agents_with_alert_template ($id_alert_template, $id_group,
|
||||
false, array ('tagente.nombre', 'tagente.id_agente'));
|
||||
|
||||
$agents = agents_get_agents();
|
||||
$table->data[1][1] = html_print_select (index_array ($agents, 'id_agente', 'nombre'),
|
||||
$agents = agents_get_group_agents (array_keys (users_get_groups ($config["id_user"], "AW", false)));
|
||||
$table->data[1][1] = html_print_select ($agents,
|
||||
'id_agents[]', '', '', '', '', true, true, true, '', false, 'width:180px;');
|
||||
$table->data[1][2] = __('When select agents');
|
||||
$table->data[1][2] .= '<br>';
|
||||
|
|
Loading…
Reference in New Issue