* Raised Fluid version to 1.1.0alpha2, due to a regression in PHP 5.2.X.
authorSebastian Kurfürst <sebastian.kurfuerst@typo3.org>
Tue, 16 Mar 2010 10:34:36 +0000 (10:34 +0000)
committerSebastian Kurfürst <sebastian.kurfuerst@typo3.org>
Tue, 16 Mar 2010 10:34:36 +0000 (10:34 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7116 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php
typo3/sysext/fluid/ext_emconf.php

index 59d4aea..d066c96 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
 2010-03-16  Sebastian Kurfuerst  <sebastian@typo3.org>
 
 2010-03-16  Sebastian Kurfuerst  <sebastian@typo3.org>
 
-       * Raising Extbase and Fluid versions to 1.1.0alpha1
+       * Raising Extbase to 1.1.0alpha1 and Fluid to 1.1.0alpha2
 
 2010-03-15  Tobias Liebig  <mail_typo3@etobi.de>
 
 
 2010-03-15  Tobias Liebig  <mail_typo3@etobi.de>
 
index 955e06c..ff4500c 100644 (file)
@@ -441,7 +441,9 @@ class Tx_Fluid_Core_Parser_TemplateParser {
 
                        // PostParse Facet
                if ($viewHelper instanceof Tx_Fluid_Core_ViewHelper_Facets_PostParseInterface) {
 
                        // PostParse Facet
                if ($viewHelper instanceof Tx_Fluid_Core_ViewHelper_Facets_PostParseInterface) {
-                       $viewHelper::postParseEvent($currentDynamicNode, $argumentsObjectTree, $state->getVariableContainer());
+                       // Don't just use $viewHelper::postParseEvent(...),
+                       // as this will break with PHP < 5.3.
+                       call_user_func(array($viewHelper, 'postParseEvent'), $currentDynamicNode, $argumentsObjectTree, $state->getVariableContainer());
                }
 
                $this->callInterceptor($currentDynamicNode, Tx_Fluid_Core_Parser_InterceptorInterface::INTERCEPT_OPENING_VIEWHELPER);
                }
 
                $this->callInterceptor($currentDynamicNode, Tx_Fluid_Core_Parser_InterceptorInterface::INTERCEPT_OPENING_VIEWHELPER);
index eed1a1e..4431fe9 100755 (executable)
@@ -29,7 +29,7 @@ $EM_CONF[$_EXTKEY] = array(
        'clearCacheOnLoad' => 0,
        'lockType' => '',
        'author_company' => '',
        'clearCacheOnLoad' => 0,
        'lockType' => '',
        'author_company' => '',
-       'version' => '1.1.0alpha1',
+       'version' => '1.1.0alpha2',
        'constraints' => array(
                'depends' => array(
                        'extbase' => '',
        'constraints' => array(
                'depends' => array(
                        'extbase' => '',