Respect the file name correspond to the class name - refs BT#9070

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent 737da4c2a0
commit 2f9d51e547
  1. 0
      main/inc/lib/formvalidator/Element/Number.php
  2. 2
      main/inc/lib/formvalidator/FormValidator.class.php

@ -140,7 +140,7 @@ class FormValidator extends HTML_QuickForm
$this->registerElementType('button', $dir . 'Element/style_submit_button.php', 'HTML_QuickForm_stylesubmitbutton');
$this->registerElementType('captcha', 'HTML/QuickForm/CAPTCHA.php', 'HTML_QuickForm_CAPTCHA');
$this->registerElementType('CAPTCHA_Image', 'HTML/QuickForm/CAPTCHA/Image.php', 'HTML_QuickForm_CAPTCHA_Image');
$this->registerElementType('number', $dir . 'Element/Number.class.php', 'Number');
$this->registerElementType('number', $dir . 'Element/Number.php', 'Number');
$this->registerRule('date', null, 'HTML_QuickForm_Rule_Date', $dir . 'Rule/Date.php');
$this->registerRule('datetime', null, 'DateTimeRule', $dir . 'Rule/DateTimeRule.php');

Loading…
Cancel
Save