Project

General

Profile

Revision 01f36513

Added by Assos Assos about 6 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/webform/components/date.inc
224 224
    unset($element['#value']);
225 225
  }
226 226

  
227
  // Set defaults according to existing #default_value (set by Form API)
227
  // Set defaults according to existing #default_value (set by Form API).
228 228
  if (isset($element['#default_value']['month']) || isset($element['#default_value']['day']) || isset($element['#default_value']['year'])) {
229 229
    $default_values = array(
230 230
      'month' => $element['#default_value']['month'],

Also available in: Unified diff