Fixed problems with function and pass variables. Tiquet: #2856

This commit is contained in:
m-lopez-f 2015-10-06 15:37:16 +02:00
parent e35401566a
commit bea8170120
2 changed files with 3 additions and 3 deletions

View File

@ -2051,8 +2051,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, $id_agent_module = 0, $ACL = true, $scriptResult = '',
$filter = array(), $return = false) {
$default = '', $id_agents = false, $ACL = true, $scriptResult = '',
$filter = array(), $return = false,$id_agent_module = 0) {
global $config;

View File

@ -435,7 +435,7 @@ $data[0] .= html_print_select($user_users, "id_user_ack", $id_user_ack, '',
if (!$meta) {
$data[1] = __('Module search') . $jump;
$data[1] .= html_print_autocomplete_modules('module_search',
$text_module, false, $id_agent_module, true, '', array(), true);
$text_module, false, true, '', array(), true,$id_agent_module);
}
else {
$data[1] = __('Server') . $jump;