Skip to content

Commit

Permalink
[BUGFIX] Fix access to overrideParserVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jun 13, 2023
1 parent 97cd552 commit 25792ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/CompileService.php
Expand Up @@ -73,7 +73,7 @@ public function getCompiledFile(string $file): ?string
&& isset($settings['file']['info']['extension'])
&& $parser->supports($settings['file']['info']['extension'])
) {
if ($configuration['overrideParserVariables']) {
if ((bool) ($configuration['overrideParserVariables'] ?? false)) {
$settings['variables'] = $this->getVariablesFromConstants($settings['file']['info']['extension']);
}
try {
Expand Down

0 comments on commit 25792ec

Please sign in to comment.