Fix Notice: Undefined index: end_time in farm_plan_consideration_form_submit() #349

This commit is contained in:
Michael Stenta 2020-09-15 09:14:12 -04:00
parent da504a1be7
commit 7cb84aba77
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ function farm_plan_consideration_form($form, &$form_state, $plan, $consideration
// End date.
$default_end_time = !empty($consideration->end_time) ? date($date_format, $consideration->end_time) : '';
$form['end'] = array(
$form['end_time'] = array(
'#type' => 'date_select',
'#title' => t('End date'),
'#date_label_position' => 'within',