Commit 15fc4b57 authored by catch's avatar catch
Browse files

Issue #1260752 by andypost: Fixed _locale_languages_common_controls() maxlength to conform schema.

parent aead48a4
......@@ -278,8 +278,7 @@ function _locale_languages_common_controls(&$form, $language = NULL) {
$form['langcode'] = array(
'#type' => 'textfield',
'#title' => t('Language code'),
'#size' => 12,
'#maxlength' => 60,
'#maxlength' => 12,
'#required' => TRUE,
'#default_value' => @$language->language,
'#disabled' => (isset($language->language)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment