FieldEmbedView::getViewsArgumentsValues() initializes twice $reference_key and initializes $display_field_name, which never uses

Created on 18 March 2024, 9 months ago
Updated 1 April 2024, 9 months ago

FieldEmbedView::getViewsArgumentsValues() contains the following code.

    $reference_key = $display_settings['reference_key'];
    $field_name = $display_settings['field_name'];
    $reference_key = $display_settings['reference_key'] ?? $field_name;
    $display_field_name = $display_field['field_name'];

$reference_key is initialized twice, and $display_field_name is initialized once, but never used.

🐛 Bug report
Status

Fixed

Version

9.1

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024