Fixing inconsistencies.
This commit is contained in:
parent
bbd8517ae0
commit
f9dc9d5a11
2 changed files with 10 additions and 2 deletions
|
|
@ -85,8 +85,9 @@ sub www_view {
|
|||
my ($file, %var);
|
||||
if ($_[0]->get("attachment") ne "") {
|
||||
$file = WebGUI::Attachment->new($_[0]->get("attachment"),$_[0]->get("wobjectId"));
|
||||
$var{attachmentURL} = $file->getURL;
|
||||
$var{attachmentIcon} = $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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue