Corrected syntax error in function processing, resolves #46700
authorfrancois <francois@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 26 Mar 2013 21:15:52 +0000 (21:15 +0000)
committerfrancois <francois@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 26 Mar 2013 21:15:52 +0000 (21:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/expressions/trunk@73772 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
class.tx_expressions_parser.php

index b1eb3c6..2152915 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-26 Francois Suter (Cobweb)  <typo3@cobweb.ch>
+
+       * Corrected syntax error in function processing, resolves #46700
+
 2012-07-10 Francois Suter (Cobweb)  <typo3@cobweb.ch>
 
        * Released to TER as version 1.5.0
index cb9665d..0d65aeb 100644 (file)
@@ -306,7 +306,7 @@ class tx_expressions_parser {
                                        // If a value was found, process it and exit the loop
                                if ($hasValue) {
                                                // Call functions, if any
-                                       if (count($functions > 0)) {
+                                       if (count($functions) > 0) {
                                                foreach ($functions as $functionDefinition) {
                                                        try {
                                                                $returnValue = self::processFunctionCall($returnValue, $functionDefinition);