Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file name generation syntax error #39

Open
mkrappitz opened this issue Feb 25, 2024 · 1 comment
Open

Output file name generation syntax error #39

mkrappitz opened this issue Feb 25, 2024 · 1 comment

Comments

@mkrappitz
Copy link

$outputFile = isset($subInnerConf['outputfile']) ? trim($subInnerConf) : null;

Shouldn't that line be the following instead? I mean you cannot trim() an array anyway and we need a string file name here.

$outputFile = isset($subInnerConf['outputfile']) ? trim($subInnerConf['outputfile']) : null;
@rr-it
Copy link

rr-it commented Feb 26, 2024

Maybe go for

$outputFile = empty($subInnerConf['outputfile']) ? null : trim($subInnerConf['outputfile']);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants