diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php
index 06ab07598d..7052450b5f 100644
--- a/pandora_console/include/functions_html.php
+++ b/pandora_console/include/functions_html.php
@@ -2728,8 +2728,8 @@ function html_print_input_text_extended(
if ($hide_div_eye !== false) {
echo "";
@@ -2746,9 +2746,11 @@ function html_print_input_text_extended(
];
foreach ($attrs as $attribute => $default) {
- if (array_key_exists($attribute, $attributes)) {
+ if (array_key_exists($attribute, $attributes)
+ || ($password === true && $attribute === 'value')
+ ) {
continue;
- } //end if
+ }
/*
* Remember, this next code have a $$ that for example there is a var as
@@ -2758,7 +2760,7 @@ function html_print_input_text_extended(
*
*/
- // Exact operator because we want to show "0" on the value
+ // Exact operator because we want to show "0" on the value.
if ($attribute !== '') {
$output .= $attribute.'="'.$$attribute.'" ';
} else if ($default != '') {
@@ -2789,6 +2791,12 @@ function html_print_input_text_extended(
],
true
);
+
+ echo "';
}
if (!$return) {