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

This commit is contained in:
Colin Kuskie 2010-04-19 14:12:22 -07:00
parent 970ac6121d
commit 9a9b33b4b3

View file

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