From 98dc5f17961e5be19854f230ba408b79e0508c1e Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Tue, 7 Jul 2020 11:54:55 +0200 Subject: [PATCH] minor fix range input --- pandora_console/include/functions_html.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 1d2f9dac78..1fb7da5e21 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -1646,6 +1646,7 @@ function html_print_input_range( $output .= ' value="'.$value.'" '; } + $output .= ' name="'.$name.'" '; $output .= ' id="'.$id.'" '; $output .= ' min="'.$min.'" '; $output .= ' max="'.$max.'" '; @@ -1655,6 +1656,10 @@ function html_print_input_range( $output .= ' />'; + if ($return === false) { + echo $return; + } + return $output; }