Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13897: Mistype fix.
  • Loading branch information
vrurg committed Jul 1, 2016
1 parent 3b55f9c commit faa9592
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PlainFileStoreContrib/lib/Foswiki/Store/PlainFile.pm
Expand Up @@ -365,7 +365,7 @@ sub testAttachment {
sub openAttachment {
my ( $this, $meta, $att, $mode, @opts ) = @_;
ASSERT($att) if DEBUG;
return $this->_openBinarySystem( $meta, $att, $mode, @opts );
return $this->_openBinaryStream( $meta, $att, $mode, @opts );
}

# Implement Foswiki::Store
Expand Down
7 changes: 6 additions & 1 deletion core/lib/Foswiki/Macros/ICON.pm
Expand Up @@ -79,7 +79,12 @@ has EXT2ICON => (
$icons->close();
}
catch {
ASSERT( 0, $_[0] ) if DEBUG;
ASSERT(
0,
Foswiki::Exception::errorStr(
Foswiki::Exception::Fatal->transmute( $_, 0 )
)
) if DEBUG;
$ext2icon = {};
};
}
Expand Down

0 comments on commit faa9592

Please sign in to comment.