Browse Source

* fix syntax select_field

master
Alex 'AdUser' Z 9 years ago
parent
commit
50cc81bd7b
  1. 2
      lib/LDV/Zerobin.pm

2
lib/LDV/Zerobin.pm

@ -23,7 +23,7 @@ sub create
my @syntax = ('auto'); my @syntax = ('auto');
my $langs = $self->app->config->{zerobin}->{syntax}; my $langs = $self->app->config->{zerobin}->{syntax};
push @syntax, {'-------' => $langs} push @syntax, $self->c('-------' => $langs)
if (ref($langs) eq 'ARRAY'); if (ref($langs) eq 'ARRAY');
$self->stash({syntax => \@syntax}); $self->stash({syntax => \@syntax});

Loading…
Cancel
Save