fixed: #10109: Matrix 2.0 - Updates to product listing by maintainer account require admin approval

This commit is contained in:
Yung Han Khoe 2009-04-19 16:59:58 +00:00
parent 70fc3e2d11
commit 7512724239
2 changed files with 6 additions and 1 deletions

View file

@ -247,7 +247,11 @@ By specifying this method, you activate this feature.
sub getAutoCommitWorkflowId {
my $self = shift;
return $self->getParent->get("submissionApprovalWorkflowId");
if($self->session->form->process("assetId") eq "new"){
return $self->getParent->get("submissionApprovalWorkflowId");
}
return undef;
}
#-------------------------------------------------------------------