A clear and concise description of what the bug is.
I created a simple PHP function:
function paramTester($parameter="default") {
return 'Parameter value: ('.$parameter.')';
}
When called using Insert Dynamic Data's PHP Function Return value feature, even if I supply NO parameter values, it calls the function with an empty string as the first parameter (which prevents the default value from being applied).
Look at the homepage just below the "start now" and "learn more" buttons. The function can be found in a code block just before the text module showing the function results.
Describe the bug
A clear and concise description of what the bug is. I created a simple PHP function: function paramTester($parameter="default") { return 'Parameter value: ('.$parameter.')'; }
When called using Insert Dynamic Data's PHP Function Return value feature, even if I supply NO parameter values, it calls the function with an empty string as the first parameter (which prevents the default value from being applied).
A link to a Sandbox site where the bug has been reproduced https://oxygenbuilder.com/try? (REQUIRED) https://oxygen-qq7dphz4lpfvl.oxygen-demo.qsandbox.org/home/
Look at the homepage just below the "start now" and "learn more" buttons. The function can be found in a code block just before the text module showing the function results.