Projet

Général

Profil

Révision 76bdcd04

Ajouté par Assos Assos il y a plus de 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform/components/date.inc
409 409
function webform_validate_date($element, $form_state) {
410 410
  $field_types = array('day', 'month', 'year');
411 411

  
412
  // Determine if the user has specified a date. Hidden parts of the date will be submitted automatically.
412
  // Determine if the user has specified a date. Hidden parts of the date will
413
  // be submitted automatically.
413 414
  foreach ($field_types as $field_type) {
414 415
    if (!in_array($field_type, $element['#exclude']) && $element[$field_type]['#value'] !== '') {
415 416
      $field_found = TRUE;

Formats disponibles : Unified diff