fixed: cannot manage revisions in version tag
This commit is contained in:
parent
0c13afe4de
commit
f482c079d7
2 changed files with 3 additions and 0 deletions
|
|
@ -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' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue