From 79de04ec9a5986337521667c7763ee067b2fdb4e Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 7 Oct 2015 16:40:12 +0200 Subject: [PATCH] Revert "Fixed problems with function and pass variables. Tiquet: #2856" This reverts commit 3ed5e1295cc2069053e1bf8cfff8124e8b164129. --- pandora_console/include/functions_html.php | 4 ++-- pandora_console/operation/events/events_list.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 8e78e73d77..e5a5cbeffd 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -1922,8 +1922,8 @@ function html_html2rgb($htmlcolor) * @return mixed If the $return is true, return the output as string. */ function html_print_autocomplete_modules($name = 'module', - $default = '', $id_agents = false, $ACL = true, $scriptResult = '', - $filter = array(), $return = false,$id_agent_module = 0) { + $default = '', $id_agents = false, $id_agent_module = 0, $ACL = true, $scriptResult = '', + $filter = array(), $return = false) { global $config; diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index 8400108b4a..7a3b2dba69 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -390,7 +390,7 @@ $data[0] .= html_print_select($user_users, "id_user_ack", $id_user_ack, '', if (!$meta) { $data[1] = __('Module search') . '
'; $data[1] .= html_print_autocomplete_modules('module_search', - $text_module, false, true, '', array(), true,$id_agent_module); + $text_module, false, $id_agent_module, true, '', array(), true); } else { $data[1] .= '';