Fixed #3065: ObjectFactory is unable to call t3lib_div::makeInstance.
authorSebastian Kurfürst <sebastian@typo3.org>
Thu, 30 Apr 2009 08:31:21 +0000 (08:31 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Thu, 30 Apr 2009 08:31:21 +0000 (08:31 +0000)
typo3/sysext/fluid/Classes/Compatibility/ObjectFactory.php

index 487735f..16c1601 100644 (file)
@@ -34,7 +34,7 @@ class Tx_Fluid_Compatibility_ObjectFactory implements t3lib_Singleton {
        public function create($objectName) {
                $constructorArguments = func_get_args();
 
-               $object = call_user_func_array('t3lib_div::makeInstance',$constructorArguments);
+               $object = call_user_func_array(array('t3lib_div', 'makeInstance'),$constructorArguments);
 
                $injectVariables = array();
                if (isset($this->injectors[$objectName])) {