diff --git a/src/Fenom/Compiler.php b/src/Fenom/Compiler.php index 5fac684..e1edd38 100644 --- a/src/Fenom/Compiler.php +++ b/src/Fenom/Compiler.php @@ -144,7 +144,7 @@ class Compiler $check = '!empty('.$from.')'; } else { $scope["var"] = $scope->tpl->tmpVar(); - $prepend = $scope["var"].' = (array)('.$from.')'; + $prepend = $scope["var"].' = (array)('.$from.');'; $from = $check = $scope["var"]; } } elseif ($tokens->is('[')) {