Added trim in address

This commit is contained in:
Daniel Maya 2020-06-26 10:11:41 +02:00
parent 03016871ad
commit db452f41f5

@ -140,8 +140,8 @@ if (isset($_GET['server'])) {
ui_print_error_message(__('There was a problem deleting the server'));
}
} else if (isset($_GET['update'])) {
$address = get_parameter_post('address');
$description = get_parameter_post('description');
$address = trim(get_parameter_post('address'), ' ');
$description = trim(get_parameter_post('description'), ' ');
$id_server = get_parameter_post('server');
$exec_proxy = get_parameter_post('exec_proxy');
$port = get_parameter_post('port');