Undefined array key access in CMRFDisplay

Created on 16 May 2024, about 1 month ago
Updated 18 June 2024, 8 days ago

Problem/Motivation

There's an undefined array key access in https://git.drupalcode.org/project/cmrf_form_processor/-/blob/2.0.38/mod... when "Mode" is set to "Literal" in "CMRF Display settings".

Steps to reproduce

Create a webform with cmrf_display field and set "Mode" to "Literal" in "CMRF Display settings".

Proposed resolution

Change $element['#cmrf_display_mode'] to $element['#cmrf_display_mode'] ?? NULL.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024