diff options
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r-- | system/libraries/Form_validation.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index cab6f34fd..d62071b79 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -39,9 +39,8 @@ class CI_Form_validation { /** * Constructor - * */ - function CI_Form_validation($rules = array()) + public function __construct($rules = array()) { $this->CI =& get_instance(); |