From c38a85a54498c875a1f3ca3f28044e96d4d7670b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 21 Feb 2013 23:28:26 +0000 Subject: [PATCH] Opps :( --- .../discovery/package/class_PackageRecipientDiscovery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php index 040c3083b..f98d95e79 100644 --- a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php +++ b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php @@ -60,7 +60,7 @@ class PackageRecipientDiscovery extends BaseHubDiscovery implements Discoverable */ public function discoverRecipients (array $packageData) { // This must be available - assert($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT]); + assert(isset($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT])); // First try out the direct recipient (session id) try { @@ -94,7 +94,7 @@ class PackageRecipientDiscovery extends BaseHubDiscovery implements Discoverable */ public function discoverRawRecipients (array $decodedData) { // This must be available - assert($decodedData[NetworkPackage::PACKAGE_DATA_RECIPIENT]); + assert(isset($decodedData[NetworkPackage::PACKAGE_DATA_RECIPIENT])); // First clear all recipients $this->clearRecipients(); -- 2.39.5