fixed: cannot manage revisions in version tag

This commit is contained in:
Doug Bell 2008-06-13 21:51:19 +00:00
parent 0c13afe4de
commit f482c079d7
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,7 @@
- fixed: dashboard not working due to using legacy ajax handlers
- fixed: Calendar form element no longer shows up behind admin console.
- fixed: Asset Manager can now change ranks again
- fixed: Cannot manage revisions in version tags.
7.5.12
- skipping this release

View file

@ -60,7 +60,9 @@ sub canApproveVersionTag {
my $tag = shift;
my $user = shift || $session->user;
my $instance = $tag->getWorkflowInstance;
return 0 unless $instance;
my $activity = $instance->getNextActivity;
return 0 unless $activity;
# Check if this person is in one of the allowed groups
my $groupToApprove = $activity->can( 'getGroupToApprove' )