]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/handler/message-types/dht/class_NodeMessageDhtBootstrapHandler.php
Merge branch 'refacuring/protocol_handler' of git.mxchange.org:/var/cache/git/repos...
[hub.git] / application / hub / main / handler / message-types / dht / class_NodeMessageDhtBootstrapHandler.php
index 54500de6a5319705379bd5acd2d092de1e136f11..35b609e4ca4cee602916e74e6e398541c06e8859 100644 (file)
@@ -180,7 +180,7 @@ class NodeMessageDhtBootstrapHandler extends BaseMessageHandler implements Handl
                assert(count($nodeList) > 0);
 
                // Set it in configuration
-               $this->getConfigInstance()->setConfigEntry('dht_nodes', base64_encode(serialize($nodeList)));
+               $this->getConfigInstance()->setConfigEntry('dht_nodes', base64_encode(json_encode($nodeList)));
        }
 
        /**