]> git.mxchange.org Git - core.git/commitdiff
Also include stack name in type. This will allow more index files than one ...
authorRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 19:50:27 +0000 (21:50 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 19:50:27 +0000 (21:50 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/factories/stacks/class_FileStackFactory.php

index 8f0494e5801b8203e7a27badd6b2adbd1f523cc4..810b808849314aa7b183c89cacafae39bccda955 100644 (file)
@@ -54,7 +54,7 @@ class FileStackFactory extends ObjectFactory {
                        $stackInstance = Registry::getRegistry()->getInstance($stackName . '_stack');
                } else {
                        // Get the handler instance
-                       $stackInstance = self::createObjectByConfiguredName($prefix . '_' . $stackName . '_stack_class', array($stackFileName, $prefix));
+                       $stackInstance = self::createObjectByConfiguredName($prefix . '_' . $stackName . '_stack_class', array($stackFileName, $prefix . '_' . $stackName));
 
                        // Add it to the registry
                        Registry::getRegistry()->addInstance($stackName . '_stack', $stackInstance);