diff --git a/lib/LDV/Zerobin.pm b/lib/LDV/Zerobin.pm index e90934e..f551696 100644 --- a/lib/LDV/Zerobin.pm +++ b/lib/LDV/Zerobin.pm @@ -23,7 +23,7 @@ sub create my @syntax = ('auto'); my $langs = $self->app->config->{zerobin}->{syntax}; - push @syntax, {'-------' => $langs} + push @syntax, $self->c('-------' => $langs) if (ref($langs) eq 'ARRAY'); $self->stash({syntax => \@syntax});