mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Issue #2902064: Logs are not being auto-associated with assets
This commit is contained in:
parent
b39df3fe5c
commit
9d89f78694
|
@ -106,7 +106,7 @@ function farm_fields_prepopulate_entityreference(&$form, $entity_type, $field_na
|
|||
// Set the field value key based on the field type.
|
||||
$value_key = 'value';
|
||||
switch ($field_base['type']) {
|
||||
case 'entity_reference';
|
||||
case 'entityreference';
|
||||
$value_key = 'target_id';
|
||||
break;
|
||||
case 'taxonomy_term_reference':
|
||||
|
|
Loading…
Reference in a new issue