diff options
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r-- | IkiWiki/Setup/Standard.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm index f3d4994fb..0e640f8ac 100644 --- a/IkiWiki/Setup/Standard.pm +++ b/IkiWiki/Setup/Standard.pm @@ -32,8 +32,7 @@ sub dumpline ($$$$) { #{{{ # avoid quotes $dumpedvalue=$value; } - elsif ($type eq 'string' && ref $value eq 'ARRAY' && @$value && - ! grep { /[^-A-Za-z0-9_]/ } @$value) { + elsif (ref $value eq 'ARRAY' && @$value && ! grep { /[^-A-Za-z0-9_]/ } @$value) { # dump simple array as qw{} $dumpedvalue="[qw{ ".join(" ", @$value)." }]"; } |