Fixed bug #10190: Call to undefined method t3lib_div::calluserfunc() in class.tslib_f...
authorOliver Hader <oliver.hader@typo3.org>
Tue, 31 Mar 2009 09:17:35 +0000 (09:17 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 31 Mar 2009 09:17:35 +0000 (09:17 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5246 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index de73cd9..6bee16c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-03-31  Oliver Hader  <oliver@typo3.org>
 
        * Flollow-up to bug #10025: Enabled to cut off image profiles for image resizing by default
+       * Fixed bug #10190: Call to undefined method t3lib_div::calluserfunc() in class.tslib_fe.php
 
 2009-03-30  Francois Suter  <francois@typo3.org>
 
index dd3dc88..3a7b983 100644 (file)
@@ -3837,20 +3837,23 @@ if (version == "n3") {
         * @param       string          Query-parameters to encode (will be done only if caching is enabled and TypoScript configured for it. I don't know it this makes much sense in fact...)
         * @param       boolean         The "no_cache" status of the link.
         * @return      string          The body of the filename.
-        * @see getSimulFileName(), t3lib_tstemplate::linkData(), tslib_frameset::frameParams(), tx_
+        * @see getSimulFileName(), t3lib_tstemplate::linkData(), tslib_frameset::frameParams()
         * @deprecated since TYPO3 4.3, will be removed in TYPO3 4.5, please use the "simulatestatic" sysext directly
         */
        function makeSimulFileName($inTitle, $page, $type, $addParams = '', $no_cache = false) {
                if (t3lib_extMgm::isLoaded('simulatestatic')) {
-                       return t3lib_div::callUserFunc(
+                       $parameters = array(
+                               'inTitle' => $inTitle,
+                               'page' => $page,
+                               'type' => $type,
+                               'addParams' => $addParams,
+                               'no_cache' => $no_cache,
+                       );
+                       return t3lib_div::callUserFunction(
                                'EXT:simulatestatic/class.tx_simulatestatic.php:&tx_simulatestatic->makeSimulatedFileNameCompat',
-                               array(
-                                       'inTitle' => $inTitle,
-                                       'page' => $page,
-                                       'type' => $type,
-                                       'addParams' => $addParams,
-                                       'no_cache' => $no_cache
-                               ), $this);
+                               $parameters,
+                               $this
+                       );
                } else {
                        return false;
                }
@@ -3866,7 +3869,7 @@ if (version == "n3") {
         */
        function simulateStaticDocuments_pEnc_onlyP_proc($linkVars)     {
                if (t3lib_extMgm::isLoaded('simulatestatic')) {
-                       return t3lib_div::callUserFunc(
+                       return t3lib_div::callUserFunction(
                                'EXT:simulatestatic/class.tx_simulatestatic.php:&tx_simulatestatic->processEncodedQueryString',
                                $linkVars,
                                $this