From 3e7e2c49c9945ef08770eb1d17b3946ba051dcff Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 3 Mar 2010 20:56:09 -0800 Subject: [PATCH] And again. --- lib/WebGUI/AssetTrash.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/AssetTrash.pm b/lib/WebGUI/AssetTrash.pm index a50fc81b1..62fbab650 100644 --- a/lib/WebGUI/AssetTrash.pm +++ b/lib/WebGUI/AssetTrash.pm @@ -79,7 +79,7 @@ sub getAssetsInTrash { assetData.title desc "); while (my ($id, $date) = $sth->array) { - my $asset = WebGUI::Asset->new($self->session, $id, $date); + my $asset = WebGUI::Asset->newById($self->session, $id, $date); if (!Exception::Class->caught()) { push(@assets, $asset); }