Skip to content

Commit

Permalink
Item9232: in very rare circumstances, configure may attempt to expand…
Browse files Browse the repository at this point in the history
… an undef

git-svn-id: http://svn.foswiki.org/trunk@8052 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Jul 7, 2010
1 parent ddcc6de commit b0bfa85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Configure/Load.pm
Expand Up @@ -164,7 +164,7 @@ sub expandValue {
# expressions.
# } elsif (ref($_[0])) {
# Carp::confess("Can't handle a ".ref($_[0]));
} else {
} elsif (defined($_[0])) {
$_[0] =~ s/(\$Foswiki::cfg{[[A-Za-z0-9{}]+})/_handleExpand($1)/ge;
}
}
Expand Down

0 comments on commit b0bfa85

Please sign in to comment.