Revert "Fixed problems with function and pass variables. Tiquet: #2856"
This reverts commit 3ed5e1295c
.
This commit is contained in:
parent
dc1b64dc7d
commit
79de04ec9a
|
@ -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;
|
||||
|
||||
|
|
|
@ -390,7 +390,7 @@ $data[0] .= html_print_select($user_users, "id_user_ack", $id_user_ack, '',
|
|||
if (!$meta) {
|
||||
$data[1] = __('Module search') . '<br>';
|
||||
$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] .= '';
|
||||
|
|
Loading…
Reference in New Issue