Skip to content

Commit

Permalink
Item13062: corner case of a blank setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Comment committed Dec 3, 2014
1 parent 8474592 commit 780e8bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/Foswiki/Configure/Wizards/Save.pm
Expand Up @@ -385,6 +385,7 @@ sub _generateLSC {
my $vs = $spec->getValueObject($keys);
if ($vs) {
my $d = $vs->encodeValue($datum);
$d = "''" unless defined $d;
push( @dump, "\$Foswiki::cfg$keys = $d;\n" );
}
elsif ( ref($datum) eq 'HASH' ) {
Expand Down

0 comments on commit 780e8bc

Please sign in to comment.