PHP Undefined Array Key Warning Using Custom Token

Created on 14 June 2023, over 1 year ago

Problem/Motivation

Using the custom token provided by this module (in a webform email handler) raises 2 PHP Warnings.

Steps to reproduce

Proposed resolution

Use null-coalesce operator instead of ternary shorthand operator.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States percoction

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024