[Bps-public-commit] r18728 - RTx-WorkflowBuilder/lib/RTx
clkao at bestpractical.com
clkao at bestpractical.com
Fri Mar 6 09:32:26 EST 2009
Author: clkao
Date: Fri Mar 6 09:32:25 2009
New Revision: 18728
Modified:
RTx-WorkflowBuilder/lib/RTx/WorkflowBuilder.pm
Log:
Fix workflow template compiling for multi-approver per stage.
Modified: RTx-WorkflowBuilder/lib/RTx/WorkflowBuilder.pm
==============================================================================
--- RTx-WorkflowBuilder/lib/RTx/WorkflowBuilder.pm (original)
+++ RTx-WorkflowBuilder/lib/RTx/WorkflowBuilder.pm Fri Mar 6 09:32:25 2009
@@ -66,7 +66,7 @@
'Content-Type' => 'text/plain',
@_,
$self->depends_on ? (
- 'Depends-On' => "workflow-".$self->depends_on,
+ 'Depends-On' => join(',', map { "workflow-$_" } ref $self->depends_on ? @{ $self->depends_on } : ( $self->depends_on ))
) : (),
$self->depended_on_by ? (
'Depended-On-By' => $self->depended_on_by,
More information about the Bps-public-commit
mailing list