]> git.mxchange.org Git - hub.git/commitdiff
Don't use empty here, always [NetworkPackage::PACKAGE_DATA_RECIPIENT]
authorRoland Häder <roland@mxchange.org>
Thu, 21 Feb 2013 23:34:26 +0000 (23:34 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 21 Feb 2013 23:34:26 +0000 (23:34 +0000)
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());