Fix problems with assetExportHtml. The method needs to be rethought, and make check that one exists before calling it via can/DOES. Fix a problem with duplicating the session, since duplicate is not a class method.

This commit is contained in:
Colin Kuskie 2010-06-05 22:25:18 -07:00
parent 910a0a09dd
commit be259d803c
2 changed files with 6 additions and 5 deletions

View file

@ -196,7 +196,7 @@ sub exportAssetCollateral {
}
# open another session to handle printing...
my $printSession = WebGUI::Session->duplicate;
my $printSession = $self->session->duplicate;
my $keywordObj = WebGUI::Keyword->new($printSession);
my $keywords = $keywordObj->findKeywords({