static html exports work

This commit is contained in:
JT Smith 2006-05-10 14:44:56 +00:00
parent db17ed0789
commit 683943c058

View file

@ -89,8 +89,9 @@ sub print {
my $content = shift;
my $skipMacros = shift;
WebGUI::Macro::process($self->session, \$content) unless $skipMacros;
if (exists $self->{_handle}) {
print $self->{_handle};
my $handle = $self->{_handle};
if (defined $handle) {
print $handle $content;
} else {
print $content;
}