From 5580aa9e8528a47367968c778a1b609097ad14c4 Mon Sep 17 00:00:00 2001 From: paul121 Date: Wed, 24 Jun 2020 13:49:51 -0700 Subject: [PATCH] Make the movement form a tree. --- modules/farm/farm_livestock/farm_livestock.farm_quick.move.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/farm/farm_livestock/farm_livestock.farm_quick.move.inc b/modules/farm/farm_livestock/farm_livestock.farm_quick.move.inc index d3c59752..902b2a2a 100644 --- a/modules/farm/farm_livestock/farm_livestock.farm_quick.move.inc +++ b/modules/farm/farm_livestock/farm_livestock.farm_quick.move.inc @@ -16,6 +16,9 @@ function farm_livestock_move_form($form, &$form_state) { '#description' => t('Use this form to record the movement of animals to an area. An activity log will be created with standard details filled in. You can also specify before/after observations of the area(s) that the animals are moving to/from.'), ); + // Make the form a tree. + $form['move']['#tree'] = TRUE; + // Define the date format for logs. $date_format = 'Y-m-d';