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
|
|
@ -10,6 +10,7 @@
|
||||||
- fixed: dashboard not working due to using legacy ajax handlers
|
- fixed: dashboard not working due to using legacy ajax handlers
|
||||||
- fixed: Calendar form element no longer shows up behind admin console.
|
- fixed: Calendar form element no longer shows up behind admin console.
|
||||||
- fixed: Asset Manager can now change ranks again
|
- fixed: Asset Manager can now change ranks again
|
||||||
|
- fixed: Cannot manage revisions in version tags.
|
||||||
|
|
||||||
7.5.12
|
7.5.12
|
||||||
- skipping this release
|
- skipping this release
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,9 @@ sub canApproveVersionTag {
|
||||||
my $tag = shift;
|
my $tag = shift;
|
||||||
my $user = shift || $session->user;
|
my $user = shift || $session->user;
|
||||||
my $instance = $tag->getWorkflowInstance;
|
my $instance = $tag->getWorkflowInstance;
|
||||||
|
return 0 unless $instance;
|
||||||
my $activity = $instance->getNextActivity;
|
my $activity = $instance->getNextActivity;
|
||||||
|
return 0 unless $activity;
|
||||||
|
|
||||||
# Check if this person is in one of the allowed groups
|
# Check if this person is in one of the allowed groups
|
||||||
my $groupToApprove = $activity->can( 'getGroupToApprove' )
|
my $groupToApprove = $activity->can( 'getGroupToApprove' )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue