$stackInstance = Registry::getRegistry()->getInstance($stackName . '_stack');
} else {
// Get the handler instance
- $stackInstance = self::createObjectByConfiguredName($prefix . '_' . $stackName . '_stack_class', array($stackFileName));
+ $stackInstance = self::createObjectByConfiguredName($prefix . '_' . $stackName . '_stack_class', array($stackFileName, $prefix));
// Add it to the registry
Registry::getRegistry()->addInstance($stackName . '_stack', $stackInstance);