2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: improved the function "ui_print_agent_autocomplete_input" to get the default value for "hidden_input_idagent_value" from the GET or POST instead to set as 0. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
32fd0fd87c
commit
e5bb1f6962
|
@ -1,3 +1,10 @@
|
|||
2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_ui.php: improved the function
|
||||
"ui_print_agent_autocomplete_input" to get the default value for
|
||||
"hidden_input_idagent_value" from the GET or POST instead to set
|
||||
as 0.
|
||||
|
||||
2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/events/events.php: cleaned source code style.
|
||||
|
|
|
@ -2350,7 +2350,7 @@ function ui_print_agent_autocomplete_input($parameters) {
|
|||
$hidden_input_idagent_id = $parameters['hidden_input_idagent_id'];
|
||||
}
|
||||
|
||||
$hidden_input_idagent_value = 0; //Default value
|
||||
$hidden_input_idagent_value = (int)get_parameter($hidden_input_idagent_name, 0); //Default value
|
||||
if (isset($parameters['hidden_input_idagent_value'])) {
|
||||
$hidden_input_idagent_value = $parameters['hidden_input_idagent_value'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue