fix - Phishing Bug... take that spammers!

This commit is contained in:
Roy Johnson 2006-11-07 22:45:27 +00:00
parent f5832ee280
commit c6083606db
2 changed files with 8 additions and 1 deletions

View file

@ -39,6 +39,7 @@
- fix: Activity list expands outside of edit workflow screen
- fix: Thread layout "flat" doesn't stick
- fix: Rich Edit omitting rows drops subsequent rows
- fix: Phishing Bug... take that spammers!
7.1.4
- Template variables in the main Survey Template were out of date in the

View file

@ -139,7 +139,13 @@ sub getValueFromPost {
my $storage = WebGUI::Storage::Image->get($self->session, $id);
if (defined $storage) {
foreach my $file (@{$storage->getFiles}) {
$storage->generateThumbnail($file) if ($storage->isImage($file));
if ($storage->isImage($file)) {
$storage->generateThumbnail($file);
}
else {
$storage->delete;
$id = undef;
}
}
}
}