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