FileManagement: Anpassung an neue Schnittstelle im Ordercontroller
authorMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Wed, 9 Aug 2017 04:45:03 +0000 (06:45 +0200)
committerMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Wed, 9 Aug 2017 10:09:41 +0000 (12:09 +0200)
fix redmine #280

SL/Controller/Order.pm

index bc7fc5f..ab4401e 100644 (file)
@@ -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',