diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 04ce1337e0..5209a26270 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-02-06 Ramon Novoa + + * operation/netflow/nf_live_view.php: Fixed filter load ACL check. + 2012-02-06 Miguel de Dios * include/functions_api.php: fixed into function "get_events__with_user" diff --git a/pandora_console/operation/netflow/nf_live_view.php b/pandora_console/operation/netflow/nf_live_view.php index 74da0b9551..c7b3b96806 100644 --- a/pandora_console/operation/netflow/nf_live_view.php +++ b/pandora_console/operation/netflow/nf_live_view.php @@ -162,7 +162,7 @@ echo '
data[2][1] .= __('Advanced') . ' ' . html_print_radio_button_extended ('filter_type', 1, '', $filter_type, false, 'displayAdvancedFilter();', 'style="margin-right: 40px;"', true); $table->data[2][2] = ''.__('Load filter').''; - $user_groups = users_get_groups ($config['id_user'], "AW", $own_info['is_admin'], true); + $user_groups = users_get_groups ($config['id_user'], "AR", $own_info['is_admin'], true); $sql = "SELECT * FROM tnetflow_filter WHERE id_group IN (".implode(',', array_keys ($user_groups)).")"; $table->data[2][3] = html_print_select_from_sql ($sql, 'filter_id', $filter_id, '', __('none'), 0, true); $table->data[2][3] .= html_print_submit_button (__('Load'), 'load_button', false, 'class="sub upd"', true);