fixed addRevsion problem
This commit is contained in:
parent
f65bcbf74d
commit
9b37deeba2
3 changed files with 30 additions and 2 deletions
|
|
@ -68,7 +68,8 @@ sub addRevision {
|
|||
}
|
||||
my $newVersion = WebGUI::Asset->new($self->getId, $self->get("className"), $now);
|
||||
$newVersion->updateHistory("created revision");
|
||||
$newVersion->update($properties);
|
||||
$newVersion->update($self->get);
|
||||
$newVersion->update($properties) if ($properties);
|
||||
$newVersion->setVersionLock unless ($session{setting}{autoCommit});
|
||||
return $newVersion;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue