]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/discovery/package/class_PackageRecipientDiscovery.php
Don't use empty here, always [NetworkPackage::PACKAGE_DATA_RECIPIENT]
[hub.git] / application / hub / main / discovery / package / class_PackageRecipientDiscovery.php
index f98d95e79d2d87ad3523b198f082b04af95365b7..f1ef94a145cea9256a409ade4b97e40bde688408 100644 (file)
@@ -76,7 +76,7 @@ class PackageRecipientDiscovery extends BaseHubDiscovery implements Discoverable
                                $recipientInstance = ObjectFactory::createObjectByConfiguredName(strtolower($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT]) . '_recipient_class');
 
                                // And try to solve again
-                               $recipientInstance->resolveRecipient('', $this->getListInstance());
+                               $recipientInstance->resolveRecipient($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT], $this->getListInstance());
                        } catch (FrameworkException $e) {
                                // Could not find class, what ever failed
                                $this->debugInstance($e->getMessage());