aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-02 16:40:46 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-02 16:41:37 -0400
commit4708aeceb3ec518a00069ad7a112ab0a5596275c (patch)
tree6d04be0c5f2733162a0a9d28ba5432b15e00e775 /IkiWiki/Setup
parentb0f4767448670ca53aa84e1748a887c7bfccd4f3 (diff)
downloadikiwiki-4708aeceb3ec518a00069ad7a112ab0a5596275c.tar
ikiwiki-4708aeceb3ec518a00069ad7a112ab0a5596275c.tar.gz
websetup form display done
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Standard.pm3
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)." }]";
}