Problem/Motivation
If a form uses the date_popup field without setting a default value and the wvega timepicker is enabled, then it will throw the error Undefined index: #default_value in date_popup_process_time_part().
Proposed resolution
The date_popup_process_time_part() function should not assume $element['#default_value'] has been set.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | undefined_index-2532636-1.patch | 1.12 KB | jstoller |
Comments
Comment #1
jstollerThis should fix it.
Comment #2
hamrant commentedLooks good for me, move to rtbc.
Comment #4
podarok#1 is merged. Thanks.