diff options
Diffstat (limited to 'IkiWiki/Setup/Standard.pm')
-rw-r--r-- | IkiWiki/Setup/Standard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm index 0e640f8ac..dd613fd03 100644 --- a/IkiWiki/Setup/Standard.pm +++ b/IkiWiki/Setup/Standard.pm @@ -28,7 +28,7 @@ sub dumpline ($$$$) { #{{{ local $Data::Dumper::Quotekeys=0; my $dumpedvalue; - if ($type eq 'boolean' || $type eq 'integer') { + if (($type eq 'boolean' || $type eq 'integer') && $value=~/^[0-9]+$/) { # avoid quotes $dumpedvalue=$value; } |