From 1f5f1286d5cf0601c7c925ac5d35c5ab99a35059 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 25 Nov 2002 23:32:57 +0000 Subject: [PATCH] Fixed a syntax error. --- lib/WebGUI/Wobject/Item.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/Wobject/Item.pm b/lib/WebGUI/Wobject/Item.pm index 95b680651..c8ce99601 100644 --- a/lib/WebGUI/Wobject/Item.pm +++ b/lib/WebGUI/Wobject/Item.pm @@ -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)); }