Set the scratch variable for the main asset as well.

This commit is contained in:
Colin Kuskie 2009-04-24 02:02:42 +00:00
parent 09ad8d2a11
commit ec567a7e24

View file

@ -188,6 +188,8 @@ false will do nothing.
sub exportAsHtml {
my $self = shift;
my $session = $self->session;
# set a scratch variable for Assets to know we're exporting
$session->scratch->set('isExporting', 1);
my ($returnCode, $message);
# get the i18n object