listFirst, listLast changed default behavior for empty fields in 5.3

Description

In Lucee 5.2 (and ACF 2018) the following code:

outputs 1 and 3, whereas in Lucee 5.3.1.87 it outputs two blank strings. Is this an intended change?

Environment

None

Activity

Show:
Pothys - MitrahSoft
November 15, 2018, 12:06 PM

I've analyzed this ticket & confirmed the issue happened on lucee. I add the fix for this issue.

Pulll Request: https://github.com/lucee/Lucee/pull/605

Michael Offner
December 3, 2018, 10:10 AM
Fixed

Assignee

Michael Offner

Reporter

John Berquist

Priority

Blocker

Labels

Fix versions

Sprint

None

Affects versions

Configure