]> git.mxchange.org Git - hub.git/commitdiff
Opps ... :(
authorRoland Häder <roland@mxchange.org>
Thu, 17 May 2012 13:46:06 +0000 (13:46 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 17 May 2012 13:46:06 +0000 (13:46 +0000)
application/hub/main/states/node/class_BaseNodeState.php

index d7a1bf962a9abd32bda03ac9361f9178b520878c..3feeca035c1ff8bcc2481217d296c6115a35737f 100644 (file)
@@ -57,7 +57,7 @@ class BaseNodeState extends BaseState {
         */
        public function validateNodeStateIsActiveOrAnnounced () {
                // Just compare it...
-               if ((!$this instanceof NodeActiveState) && (!$this instanceof NodeAnnouncedState) {
+               if ((!$this instanceof NodeActiveState) && (!$this instanceof NodeAnnouncedState)) {
                        // Throw the exception
                        throw new InvalidStateException($this, self::EXCEPTION_INVALID_STATE);
                } // END - if