From 1713df81c6452101f473a45ab38fc86a5ca6fa77 Mon Sep 17 00:00:00 2001 From: Leendert Bottelberghs Date: Thu, 16 Sep 2004 09:25:22 +0000 Subject: [PATCH] Fixed code misspelling. --- lib/WebGUI/Attachment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Attachment.pm b/lib/WebGUI/Attachment.pm index 73fac3d21..08721e26c 100644 --- a/lib/WebGUI/Attachment.pm +++ b/lib/WebGUI/Attachment.pm @@ -145,7 +145,7 @@ sub copy { $b = FileHandle->new(">".$newNode->getPath.$session{os}{slash}.'thumb-'.$_[0]->getFilename); if (defined $b) { binmode($b); - cp($a,$b) or WebGUI::ErrorHandler::warn("Couldn't copy thumbnail: ".)$newNode->getPath.$session{os}{slash}.'thumb-'.$_[0]->getFilename." :".$!); + cp($a,$b) or WebGUI::ErrorHandler::warn("Couldn't copy thumbnail: ".$newNode->getPath.$session{os}{slash}.'thumb-'.$_[0]->getFilename." :".$!); $b->close; } $a->close;