From 60832cb0dcc8727839d9a5195609e24b9cb1a33f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 20 May 2014 21:50:27 +0200 Subject: [PATCH] Also include stack name in type. This will allow more index files than one ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/factories/stacks/class_FileStackFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/classes/main/factories/stacks/class_FileStackFactory.php b/inc/classes/main/factories/stacks/class_FileStackFactory.php index 8f0494e5..810b8088 100644 --- a/inc/classes/main/factories/stacks/class_FileStackFactory.php +++ b/inc/classes/main/factories/stacks/class_FileStackFactory.php @@ -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); -- 2.39.5