Projet

Général

Profil

Révision ecd39969

Ajouté par Assos Assos il y a environ 5 ans

Udpate to 7.65

Voir les différences:

drupal7/modules/file/file.field.inc
599 599
    // If the display field is present make sure its unchecked value is saved.
600 600
    $field = field_widget_field($element, $form_state);
601 601
    if (empty($input['display'])) {
602
      $input['display'] = $field['settings']['display_field'] ? 0 : 1;
602
      $input['display'] = !empty($field['settings']['display_field']) ? 0 : 1;
603 603
    }
604 604
  }
605 605

  

Formats disponibles : Unified diff