fix a bug with the new assetDbProperties method. It used the wrong class
This commit is contained in:
parent
8bd9f14a3f
commit
c615268d94
2 changed files with 5 additions and 2 deletions
|
|
@ -113,7 +113,7 @@ sub assetDbProperties {
|
|||
my $sql = "select * from asset";
|
||||
my $where = " where asset.assetId=?";
|
||||
my $placeHolders = [$assetId];
|
||||
foreach my $definition (@{$class->definition($session)}) {
|
||||
foreach my $definition (@{$className->definition($session)}) {
|
||||
$sql .= ",".$definition->{tableName};
|
||||
$where .= " and (asset.assetId=".$definition->{tableName}.".assetId and ".$definition->{tableName}.".revisionDate=".$revisionDate.")";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue