centurion-project / Centurion

Centurion is an open-source CMS delivered as a flexible PHP5 Content Management Framework
http://www.centurion-project.org
197 stars 51 forks source link

form elements autogeneration: StringLength validator error #9

Closed aurmil closed 12 years ago

aurmil commented 12 years ago

in Centurion_Form_Model_Abstract::_columnToElements(), line 917: if ($this->_columnValidators[$datatype] == 'stringLength') { /* add length option to StringLength validator */ } typo error: should be 'StringLength' instead of 'stringLength' currently on case sensitive OS like Linux, StringLength validator is added but without any option because the if returns false