From 4708aeceb3ec518a00069ad7a112ab0a5596275c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 2 Aug 2008 16:40:46 -0400 Subject: websetup form display done --- IkiWiki/Setup/Standard.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'IkiWiki/Setup') 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)." }]"; } -- cgit v1.2.3