Form inheritance work for lists, removal of $session{os}{slash}

This commit is contained in:
Colin Kuskie 2005-12-01 20:46:55 +00:00
parent abe85d439e
commit 99df1f414e
90 changed files with 1364 additions and 1168 deletions

View file

@ -116,7 +116,7 @@ sub generateThumbnail {
$image->Scale(width=>($x/$r),height=>($y/$r));
$image->Sharpen('0.0x1.0');
}
$error = $image->Write($self->getPath.$session{os}{slash}.'thumb-'.$filename);
$error = $image->Write($self->getPath.'/'.'thumb-'.$filename);
if ($error) {
WebGUI::ErrorHandler::error("Couldn't create thumbnail: ".$error);
return 0;