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 0251661dfa753f476ad339b36a65861b95a3e4fd..1bfd88063616920d943e4430c44d2c9798af975e 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