]> git.mxchange.org Git - hub.git/commitdiff
Fix for non-bootstrap node that is going to announce to upper nodes
authorRoland Häder <roland@mxchange.org>
Tue, 26 Jun 2012 14:35:08 +0000 (14:35 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 26 Jun 2012 14:35:08 +0000 (14:35 +0000)
application/hub/main/helper/hub/announcement/class_HubAnnouncementHelper.php

index 75318d80e33344a7048e0edcc7b9e15311b2ba32..0b860776017bcae962b30fabfe97c148c2476024 100644 (file)
@@ -88,7 +88,7 @@ class HubAnnouncementHelper extends BaseHubHelper implements HelpableHub {
         */
        public function sendPackage (NodeHelper $nodeInstance) {
                // Sanity check: Is the node in the approx. state? (active)
-               $nodeInstance->getStateInstance()->validateNodeStateIsActive();
+               $nodeInstance->getStateInstance()->validateNodeStateIsActiveOrReachable();
 
                // Compile the template, this inserts the loaded node data into the gaps.
                $this->getTemplateInstance()->compileTemplate();