From 28293e3ae05e690ef988bb22cf4f92987eb72dfb Mon Sep 17 00:00:00 2001 From: Erik Huelsmann Date: Mon, 23 Oct 2023 22:58:28 +0200 Subject: [PATCH] Fix typo to make GL 'Copy to New' work --- old/bin/gl.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/old/bin/gl.pl b/old/bin/gl.pl index beb77b8e4f..86af276b5b 100644 --- a/old/bin/gl.pl +++ b/old/bin/gl.pl @@ -152,7 +152,7 @@ sub new { sub copy_to_new { if ($form->{workflow_id}) { - my $wf = $form->{_wire}->get('workflow')->fetch_workflow( + my $wf = $form->{_wire}->get('workflows')->fetch_workflow( 'GL', $form->{workflow_id} ); $wf->context->param( transdate => $form->{transdate} );