From aeaa81ff59126567436dc8d0eaa95d86ce4c409e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 23 Jun 2013 19:52:08 +0000 Subject: [PATCH] Corrected assert, added debug line --- application/hub/main/package/class_NetworkPackage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index c050b3e1c..ba893bd89 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -295,6 +295,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R self::STACKER_NAME_BACK_BUFFER ) as $stackerName) { // Init this stacker + //* DEBUG: */ print(__METHOD__ . ': stackerName=' . $stackerName . ',forceReInit=' . intval($forceReInit) . PHP_EOL); $this->getStackerInstance()->initStacker($stackerName, $forceReInit); } // END - foreach } @@ -725,7 +726,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R $packageData = $this->getStackerInstance()->getNamed(self::STACKER_NAME_DECLARED); // Assert on it - assert($packageData[self::PACKAGE_DATA_RECIPIENT]); + assert(isset($packageData[self::PACKAGE_DATA_RECIPIENT])); // Try to deliver the package try { -- 2.39.5