From 89e90a8555baef7162ea6f0171fe59a1924eade9 Mon Sep 17 00:00:00 2001 From: gridnev Date: Tue, 2 Mar 2021 15:11:01 +0300 Subject: [PATCH] fix printDocument method v2 --- Service/ModuleManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/ModuleManager.php b/Service/ModuleManager.php index 67e301c..bfdb670 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] ?? null, ]); if (empty($deliveries)) {