diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 1d8c82a19..0501f6e3c 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -47,6 +47,7 @@ - fixed #4181: hoover help for 'encrypt login' is wrong - fixed #4186: search results (macro not expanded in the synopsis field) - fixed #4191: Using 3 consecutive tildes in a Post title makes a bad URL/Pos + - fixed #8927: Collaboration System: Thread approval workflow setting ignore 7.6.3 - improved performance of file uploads diff --git a/lib/WebGUI/Asset/Post/Thread.pm b/lib/WebGUI/Asset/Post/Thread.pm index 7d399e93b..c7ab6c4c0 100644 --- a/lib/WebGUI/Asset/Post/Thread.pm +++ b/lib/WebGUI/Asset/Post/Thread.pm @@ -248,6 +248,12 @@ sub getArchiveUrl { $self->getUrl("func=archive"); } +#------------------------------------------------------------------- +sub getAutoCommitWorkflowId { + my $self = shift; + return $self->getThread->getParent->get("threadApprovalWorkflow"); +} + #------------------------------------------------------------------- sub getLastPost { my $self = shift;