diff --git a/core/modules/field/field.attach.inc b/core/modules/field/field.attach.inc index 9e17d96..d267546 100644 --- a/core/modules/field/field.attach.inc +++ b/core/modules/field/field.attach.inc @@ -265,7 +265,7 @@ function field_invoke_method_multiple($method, $target_function, array $entities // Let the closure determine the target object on which the method should // be called. if (empty($grouped_targets[$instance_id])) { - $grouped_targets[$instance_id] = $target_function($instance); + $grouped_targets[$instance_id] = call_user_func($target_function, $instance); } if (method_exists($grouped_targets[$instance_id], $method)) {