Skip to content

Commit

Permalink
[BUGFIX] Syntax error in compiled flux:form.option
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Oct 26, 2015
1 parent b40121c commit 7c32264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/Form/OptionViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function compile(
$initializationPhpCode .= sprintf(
'%s::getFormFromRenderingContext($renderingContext)->setOption(' .
'isset(%s[\'name\']) ? %s[\'name\'] : %s::$option,' .
'isset(%s[\'value\']) ? %s[\'value\']) : %s()' .
'isset(%s[\'value\']) ? %s[\'value\'] : %s()' .
');',
$className,
$argumentsVariableName,
Expand Down

0 comments on commit 7c32264

Please sign in to comment.