Skip to content

Commit

Permalink
Item14237: Fixed 'undefined value' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Oct 13, 2017
1 parent f2f5303 commit 0bbcef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Config/Spec/File.pm
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ sub prepareCacheFile {

my $baseName;

if ( File::Spec->canonpath( File::Spec->catpath( $vol, $dir ) ) eq
if ( File::Spec->canonpath( File::Spec->catpath( $vol, $dir, "" ) ) eq
Foswiki::guessLibDir )
{
( $baseName = $file ) =~ s/\./_/g;
Expand Down

0 comments on commit 0bbcef7

Please sign in to comment.