From: Roland Häder Date: Thu, 21 Feb 2013 23:34:26 +0000 (+0000) Subject: Don't use empty here, always [NetworkPackage::PACKAGE_DATA_RECIPIENT] X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2dbfad11713ae7d30ebb06274d58bcd1835a14f8;p=hub.git Don't use empty here, always [NetworkPackage::PACKAGE_DATA_RECIPIENT] --- diff --git a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php index f98d95e79..f1ef94a14 100644 --- a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php +++ b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php @@ -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());