Fixed a syntax error.

This commit is contained in:
JT Smith 2002-11-25 23:32:57 +00:00
parent f9dc9d5a11
commit 1f5f1286d5

View file

@ -85,9 +85,9 @@ sub www_view {
my ($file, %var);
if ($_[0]->get("attachment") ne "") {
$file = WebGUI::Attachment->new($_[0]->get("attachment"),$_[0]->get("wobjectId"));
$var{attachment.name} = $file->getFilename;
$var{attachment.URL} = $file->getURL;
$var{attachment.Icon} = $file->getIcon;
$var{"attachment.name"} = $file->getFilename;
$var{"attachment.URL"} = $file->getURL;
$var{"attachment.Icon"} = $file->getIcon;
}
return $_[0]->processMacros($_[0]->processTemplate($_[0]->get("templateId"),\%var));
}