From c623caef58787a808fd292e7a8f1f074067e5711 Mon Sep 17 00:00:00 2001 From: "Martin Helmling martin.helmling@octosoft.eu" Date: Wed, 9 Aug 2017 06:45:03 +0200 Subject: [PATCH] FileManagement: Anpassung an neue Schnittstelle im Ordercontroller fix redmine #280 --- SL/Controller/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index bc7fc5fc6..ab4401ef8 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -211,7 +211,7 @@ sub action_print { } } if ($self->order->ordnumber && $::instance_conf->get_doc_storage) { - SL::File->store( object_id => $self->order->id, + SL::File->save( object_id => $self->order->id, object_type => $self->type, mime_type => 'application/pdf', source => 'created', -- 2.20.1