Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Brad WoodBrad WoodNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NoneFix versions
Priority
New
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Brad Wood
Brad WoodNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Fix versions
Priority
Created 2 March 2020 at 06:21
Updated 18 September 2024 at 09:41
Resolved 30 November 2021 at 08:25
ACF allows the "includeEmptyFields" paramter to the replaceList() function to be in the 4th OR 5th OR 6th position.
replaceList(String, list1, list2 [, includeEmptyFields]) replaceList(String, list1, list2, delimiter [, includeEmptyFields]) replaceList(String, list1, list2, delimiterList1, delimiterList2 [, includeEmptyFields])
https://cfdocs.org/replacelist
But Lucee behaves differently. See these examples:
// Only works in ACF writeDump( replacelist( "{name}", "{,}", ",", true) ); // Works in both writeDump( replacelist( "{name}", "{,}", ",", ",", ",", true) );