Static method getInstance() conflicts with getInstance() in class BaseRegistry,
[core.git] / inc / classes / main / factories / objects / class_ObjectFactory.php
index b84f55a..c089ba3 100644 (file)
@@ -81,7 +81,7 @@ class ObjectFactory extends BaseFactory {
         */
        public static final function createObjectByConfiguredName ($configEntry, array $args=array()) {
                // Read the configuration entry
-               $className = FrameworkConfiguration::getInstance()->getConfigEntry($configEntry);
+               $className = FrameworkConfiguration::getSelfInstance()->getConfigEntry($configEntry);
 
                // Send this to the other factory...
                $objectInstance = self::createObjectByName($className, $args);