Skip to content

Commit

Permalink
Item12381: Fix undefined variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Jan 18, 2015
1 parent bd7a482 commit 5364778
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/lib/Foswiki/Configure/Value.pm
Expand Up @@ -327,10 +327,9 @@ will be intact)
sub getRawValue {
my ($this) = @_;

my $val;
eval "\$val = \"\$Foswiki::cfg$this->{keys}\"";
# This can return undef, but that expected for keys that are undefok.
return eval("\$Foswiki::cfg$this->{keys}");

return $val;
}

=begin TML
Expand Down

0 comments on commit 5364778

Please sign in to comment.