Fix Notice: Undefined index: end_time in farm_plan_consideration_form_submit() #349
This commit is contained in:
parent
da504a1be7
commit
7cb84aba77
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue