From: Roland Haeder Date: Mon, 11 May 2015 23:38:04 +0000 (+0200) Subject: Also these must be changed to associative. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b88d1e51e927114618f6ead846024a5b652b957e;p=hub.git Also these must be changed to associative. Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index 82b413315..688b978d2 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -653,9 +653,9 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R private function generatePackageHash ($content, $senderId) { // Fake array $data = array( - self::INDEX_PACKAGE_SENDER => $senderId, - self::INDEX_PACKAGE_CONTENT => $content, - self::INDEX_PACKAGE_HASH => '' + self::PACKAGE_CONTENT_SENDER => $senderId, + self::PACKAGE_CONTENT_CONTENT => $content, + self::PACKAGE_CONTENT_HASH => '' ); // Hash content and sender id together, use scrypt