1
0
mirror of synced 2025-01-26 10:11:41 +03:00

Merge pull request #16 from gridnevalex/fix_print_document_method_v2

fix printDocument method v2
This commit is contained in:
Kruglov Kirill 2021-03-02 16:00:36 +03:00 committed by GitHub
commit 4ea5933758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,7 @@ abstract class ModuleManager implements ModuleManagerInterface
{ {
$deliveries = $this->deliveryManager->findBy([ $deliveries = $this->deliveryManager->findBy([
'account' => $this->account, 'account' => $this->account,
'externalId' => $request->deliveryIds[0], 'externalId' => $request->deliveryIds[0] ?? null,
]); ]);
if (empty($deliveries)) { if (empty($deliveries)) {