Fixed... Opps.
authorRoland Häder <roland@mxchange.org>
Thu, 7 Apr 2011 22:48:29 +0000 (22:48 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 7 Apr 2011 22:48:29 +0000 (22:48 +0000)
inc/classes/main/stacker/class_BaseStacker.php

index 0251661..1bfd880 100644 (file)
@@ -54,7 +54,7 @@ class BaseStacker extends BaseFrameworkSystem {
         */
        public final function initStacker ($stackerName, $forceReInit = false) {
                // Is the stack already initialized?
-               if (($forceReInit === true) && ($this->isStackInitialized($stackerName))) {
+               if (($forceReInit === false) && ($this->isStackInitialized($stackerName))) {
                        // Then throw the exception
                        throw new AlreadyInitializedStackerException(array($this, $stackerName), self::EXCEPTION_STACKER_ALREADY_INITIALIZED);
                } // END - if