fixed bug 714893
This commit is contained in:
parent
4398f36fdb
commit
423dea6609
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ sub new {
|
||||||
".$properties->{collateralFolderId}.", ".quote($properties->{collateralType}).",
|
".$properties->{collateralFolderId}.", ".quote($properties->{collateralType}).",
|
||||||
".$properties->{userId}.", ".$properties->{dateUploaded}.", ".$properties->{thumbnailSize}.",
|
".$properties->{userId}.", ".$properties->{dateUploaded}.", ".$properties->{thumbnailSize}.",
|
||||||
".quote($properties->{name}).", ".quote($properties->{username}).")");
|
".quote($properties->{name}).", ".quote($properties->{username}).")");
|
||||||
} else {
|
} elsif ($collateralId > 0) {
|
||||||
$properties = WebGUI::SQL->quickHashRef("select * from collateral where collateralId=".$collateralId);
|
$properties = WebGUI::SQL->quickHashRef("select * from collateral where collateralId=".$collateralId);
|
||||||
}
|
}
|
||||||
my $self = WebGUI::Attachment->new($properties->{filename},"images",$properties->{collateralId});
|
my $self = WebGUI::Attachment->new($properties->{filename},"images",$properties->{collateralId});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue