diff --git a/lib/WebGUI/Role/Asset/RssFeed.pm b/lib/WebGUI/Role/Asset/RssFeed.pm index d61d103fe..00ac422db 100644 --- a/lib/WebGUI/Role/Asset/RssFeed.pm +++ b/lib/WebGUI/Role/Asset/RssFeed.pm @@ -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') };