]> git.mxchange.org Git - hub.git/commitdiff
Also these must be changed to associative.
authorRoland Haeder <roland@mxchange.org>
Mon, 11 May 2015 23:38:04 +0000 (01:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 11 May 2015 23:38:04 +0000 (01:38 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/package/class_NetworkPackage.php

index 82b413315841d79c24ffe87a634d16f8841aaec9..688b978d28e50ce5a5a5d074ff4f5f48f989498b 100644 (file)
@@ -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