# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/plugin.class.php +++ administrator/components/com_comprofiler/plugin.class.php @@ -1608,6 +1608,10 @@ if ( $field->rows > 0 ) { $additional .= ' rows="' . $field->rows . '"'; } + $fieldMaxLength = $this->getMaxLength( $field ); + if ( $fieldMaxLength > 0 ) { + $additional .= ' maxlength="' . $fieldMaxLength . '"'; + } $classes[] = 'inputbox'; break;