Project

General

Profile

Bug #17944 » bug_0007029.patch

Administrator Admin, 2008-02-04 11:43

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php 2008-01-08 12:02:23.000000000 +0100
$classObj = new $cls;
if (method_exists($classObj, $parts[1])) {
$classObj->cObj = &$this;
$content = call_user_method($parts[1], $classObj, $content, $conf);
// Modified by Igalia
//$content = call_user_method($parts[1], $classObj, $content, $conf);
$content = $classObj->$parts[1]($content, $conf);
} else {
$GLOBALS['TT']->setTSlogMessage('Method "'.$parts[1].'" did not exist in class "'.$cls.'"',3);
}
(1-1/2)