newByDynamicClass changed to newById

This commit is contained in:
Colin Kuskie 2009-12-27 19:08:15 -08:00
parent 0fd922daed
commit 49bd7f5032
41 changed files with 94 additions and 94 deletions

View file

@ -264,7 +264,7 @@ sub exportAssetCollateral {
});
my $listOfStories = [];
STORYID: foreach my $storyId (@{ $storyIds }) {
my $story = WebGUI::Asset->newByDynamicClass($session, $storyId);
my $story = WebGUI::Asset->newById($session, $storyId);
next STORYID unless $story;
push @{ $listOfStories }, {
title => $story->getTitle,