Double my creates old version tag that is not found outside the scope.

This commit is contained in:
Colin Kuskie 2010-04-19 14:07:22 -07:00
parent b4f7bb4334
commit b7dd49d3ae

View file

@ -109,7 +109,7 @@ sub addRevision {
$workingTag = WebGUI::VersionTag->getWorking( $self->session );
}
else {
my $oldWorking = WebGUI::VersionTag->getWorking($self->session, 'noCreate');
$oldWorking = WebGUI::VersionTag->getWorking($self->session, 'noCreate');
$workingTag = WebGUI::VersionTag->new( $self->session, $parentAsset->get('tagId') );
$workingTag->setWorking();
}