From 2dbfad11713ae7d30ebb06274d58bcd1835a14f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 21 Feb 2013 23:34:26 +0000 Subject: [PATCH] Don't use empty here, always [NetworkPackage::PACKAGE_DATA_RECIPIENT] --- .../main/discovery/package/class_PackageRecipientDiscovery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5