Fixed a typo.
This commit is contained in:
parent
3e89b31e13
commit
50948d36d6
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ sub www_editCollateralSave {
|
||||||
".quote($session{form}{collateralType}).")");
|
".quote($session{form}{collateralType}).")");
|
||||||
} elsif ($collateral->{thumbnailSize} != $thumbnailSize) {
|
} elsif ($collateral->{thumbnailSize} != $thumbnailSize) {
|
||||||
$file = WebGUI::Attachment->new($collateral->{filename},"images", $session{form}{cid});
|
$file = WebGUI::Attachment->new($collateral->{filename},"images", $session{form}{cid});
|
||||||
WebGUI::Attachment::_createThumbnail($file, $thumbnailSize);
|
$file->createThumbnail($thumbnailSize);
|
||||||
}
|
}
|
||||||
$file = WebGUI::Attachment->new("","images",$session{form}{cid});
|
$file = WebGUI::Attachment->new("","images",$session{form}{cid});
|
||||||
$file->save("filename", $thumbnailSize);
|
$file->save("filename", $thumbnailSize);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue