Browse Source

Fix set input type for numbers - refs BT#10139

Angel Fernando Quiroz Campos 9 years ago
parent
commit
d97f717cbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/formvalidator/Element/Number.php

+ 1 - 1
main/inc/lib/formvalidator/Element/Number.php

@@ -24,6 +24,6 @@ class Number extends HTML_QuickForm_text
 
         parent::__construct($elementName, $elementLabel, $attributes);
         $this->_appendName = true;
-        $this->_type = 'number';
+        $this->setType('number');
     }
 }