URLs were wrong in the Account::Contributions screen.

This commit is contained in:
Colin Kuskie 2009-02-16 17:41:10 +00:00
parent 75e32b95be
commit 99a047e147
2 changed files with 3 additions and 0 deletions

View file

@ -198,6 +198,7 @@ sub www_view {
my $assetId = $row->{assetId};
my $asset = WebGUI::Asset->newByDynamicClass( $session, $assetId );
my $props = $asset->get;
$props->{url} = $asset->getUrl;
if (ref $asset eq "WebGUI::Asset::Post") {
$asset = $asset->getThread;
$props = $asset->get;