diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8296cc90f2ee138a809e253881e0e289439a4a70..aac7bdd3a97561879e3601040a34e8ce0c25ba87 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,7 @@ Date Module 7.x Version 7.x-2.x-dev =================== +- Issue #1397822, Fix 'Undefined index: field' error on line 207 of date_views_filter_handler_simple.inc. - Issue #1396536, Repeating fields weren't getting created with Devel Generate because of the change in widgets. Add new hooks so Date Repeat Field can add the repeats. - Issue #1397126 follow-up by arlinsandbulte, Fix broken tests. - Issue #1397158, The default value for the end date was using the wrong timezone setting. diff --git a/date_views/includes/date_views_filter_handler_simple.inc b/date_views/includes/date_views_filter_handler_simple.inc index 02de725950776d68eafd1119ad1e1f71e6ac8e1f..82e681cb1ce86a973125abe0eab9620c7819f2d4 100644 --- a/date_views/includes/date_views_filter_handler_simple.inc +++ b/date_views/includes/date_views_filter_handler_simple.inc @@ -204,7 +204,7 @@ class date_views_filter_handler_simple extends views_handler_filter_date { '#options' => array('' => t('No'), 'yes' => t('Yes')), '#description' => t('Add an identifier to the view to show which multiple value date fields meet the filter criteria. Note: This option may introduce duplicate values into the view. Required when using multiple value fields in a Calendar or any time you want the node view of multiple value dates to display only the values that match the view filters.'), // Only let mere mortals tweak this setting for multi-value fields - '#access' => $field['cardinality'] != 1, + '#access' => !empty($field) ? $field['cardinality'] != 1 : 1, ); }