Project

General

Profile

Revision 01f36513

Added by Assos Assos about 6 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/i18n/i18n_field/i18n_field.module
194 194
    // Single-value file fields and image fields.
195 195
    $alter_element = &$element[0];
196 196
  }
197
  elseif ($field['type'] == 'url' && $field['module'] == 'url' && $field['cardinality'] == 1) {
198
    $alter_element = &$element;
199
  }
197 200
  elseif (isset($element['value'])) {
198 201
    // Number fields. Single-value text fields.
199 202
    $alter_element = &$element['value'];

Also available in: Unified diff