From 2f9d51e547d093d0fecd98cfee158115e39f1ead Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 30 Jan 2015 10:09:59 -0500 Subject: [PATCH] Respect the file name correspond to the class name - refs BT#9070 --- .../lib/formvalidator/Element/{Number.class.php => Number.php} | 0 main/inc/lib/formvalidator/FormValidator.class.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename main/inc/lib/formvalidator/Element/{Number.class.php => Number.php} (100%) diff --git a/main/inc/lib/formvalidator/Element/Number.class.php b/main/inc/lib/formvalidator/Element/Number.php similarity index 100% rename from main/inc/lib/formvalidator/Element/Number.class.php rename to main/inc/lib/formvalidator/Element/Number.php diff --git a/main/inc/lib/formvalidator/FormValidator.class.php b/main/inc/lib/formvalidator/FormValidator.class.php index e224698896..62e437ee5e 100755 --- a/main/inc/lib/formvalidator/FormValidator.class.php +++ b/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');