From 0760b28b2c471a1d989fb1c81cc09c22d6c91313 Mon Sep 17 00:00:00 2001 From: gridnev Date: Tue, 2 Mar 2021 13:30:17 +0300 Subject: [PATCH] fix printDocument method --- Service/ModuleManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/ModuleManager.php b/Service/ModuleManager.php index 67e301c..56430b2 100644 --- a/Service/ModuleManager.php +++ b/Service/ModuleManager.php @@ -244,7 +244,7 @@ abstract class ModuleManager implements ModuleManagerInterface { $deliveries = $this->deliveryManager->findBy([ 'account' => $this->account, - 'externalId' => $request->deliveryIds, + 'externalId' => $request->deliveryIds[0], ]); if (empty($deliveries)) {