diff --git a/src/Fenom/Template.php b/src/Fenom/Template.php index b27b822..f67cb78 100644 --- a/src/Fenom/Template.php +++ b/src/Fenom/Template.php @@ -1126,7 +1126,11 @@ class Template extends Render { } if($tokens->is("=")) { $tokens->next(); - $params[ $key ] = $this->parseExp($tokens); + if ($tokens->is('[')) { + $params[ $key ] = $this->parseArray($tokens); + } else { + $params[ $key ] = $this->parseExp($tokens); + } } else { $params[ $key ] = 'true'; }