Explorar o código

Fixed a bug in the tripal_chado_field_storage_write_merge_fields when saving the entity

Chun-Huai Cheng %!s(int64=8) %!d(string=hai) anos
pai
achega
ca5baad196
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tripal_chado/includes/tripal_chado.field_storage.inc

+ 1 - 1
tripal_chado/includes/tripal_chado.field_storage.inc

@@ -378,8 +378,8 @@ function tripal_chado_field_storage_write_merge_fields($fields, $entity_type, $e
           else {
             $temp[$table_name][$delta][$column_name] = $value;
           }
+          $value_set = TRUE;
         }
-        $value_set = TRUE;
       }
 
       // If there is no value set for the field using the