Syntax error in 7.x.4.26 with PHP < 7.0

Created on 30 September 2023, about 1 year ago
Updated 1 October 2023, about 1 year ago

Problem/Motivation

Syntax error on PHP 5.5.26 after upgrading webform to 7.x.4.26.
This is caused by the use of null-coalescing operator '??' introduced in PHP 7.

Steps to reproduce

Use PHP < 7.0. Upgrade webform. Run update.php.

Proposed resolution

Attached patch.

🐛 Bug report
Status

Closed: won't fix

Version

4.0

Component

Code

Created by

🇨🇭Switzerland monnerat

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

Comments & Activities

Production build 0.71.5 2024