mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed problems with function and pass variables. Tiquet: #2856
(cherry picked from commit bea81701200eae402e6393c75c3cbd9560216e96)
This commit is contained in:
parent
eb8d2c786d
commit
3ed5e1295c
@ -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, $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;
|
||||
|
||||
|
@ -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, $id_agent_module, true, '', array(), true);
|
||||
$text_module, false, true, '', array(), true,$id_agent_module);
|
||||
}
|
||||
else {
|
||||
$data[1] .= '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user