fix exporting RssFeed for uncommitted assets
This commit is contained in:
parent
384fc59877
commit
4c7e00b298
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ around exportAssetCollateral => sub {
|
|||
my $exportSession = $self->session->duplicate;
|
||||
|
||||
# open another session as the user doing the exporting...
|
||||
my $selfdupe = WebGUI::Asset->newById( $exportSession, $self->getId );
|
||||
my $selfdupe = WebGUI::Asset->newById( $exportSession, $self->assetId, $self->revisionDate );
|
||||
|
||||
# next, get the contents, open the file, and write the contents to the file.
|
||||
my $fh = eval { $dest->open('>:utf8') };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue