[+BUGFIX] Extbase (Persistence): Fixed a problem where the third argument was mandato...
authorJochen Rau <j.rau@web.de>
Sat, 19 Jun 2010 17:10:38 +0000 (17:10 +0000)
committerJochen Rau <j.rau@web.de>
Sat, 19 Jun 2010 17:10:38 +0000 (17:10 +0000)
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModelFactory.php

index d73547d..e7d722e 100644 (file)
@@ -95,7 +95,7 @@ class Tx_Extbase_Persistence_QOM_QueryObjectModelFactory implements Tx_Extbase_P
         * @param object $language The language of the statement. Must be a supported languanguage defined as Tx_Extbase_Persistence_QOM_QueryObjectModelInterface::JCR_* or Tx_Extbase_Persistence_QOM_QueryObjectModelInterface::TYPO3_* or 
         * @return Tx_Extbase_Persistence_QOM_StatementInterface
         */
-       public function statement($statement, $boundVariables, $language) {
+       public function statement($statement, $boundVariables, $language = NULL) {
                return t3lib_div::makeInstance('Tx_Extbase_Persistence_QOM_Statement', $statement, $boundVariables, $language);
        }