From b88d1e51e927114618f6ead846024a5b652b957e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 12 May 2015 01:38:04 +0200 Subject: [PATCH] Also these must be changed to associative. Signed-off-by: Roland Haeder --- application/hub/main/package/class_NetworkPackage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5