]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/hub/class_HubAlreadyAnnouncedException.php
State pattern added, hub continued (sorry, I let it lay around uncommitted for long...
[hub.git] / application / hub / exceptions / hub / class_HubAlreadyAnnouncedException.php
index 5324192962e57f143e81038bf69a50e10bece959..65e83db405e588a76711c2904c43d33d0bb0c3be 100644 (file)
@@ -32,7 +32,7 @@ class HubAlreadyAnnouncedException extends FrameworkException {
        public function __construct (NodeHelper $nodeInstance, $code) {
                // Construct the message
                $message = sprintf("[%s] This hub is already announced. Please fix this.",
-                       $messageArray[0]->__toString()
+                       $nodeInstance->__toString()
                );
 
                // Call parent exception constructor