Project

General

Profile

Bug #25145 ยป 17726.diff

Administrator Admin, 2011-02-28 09:53

View differences:

typo3_src-4.5.2.new/typo3/sysext/cms/tslib/content/class.tslib_content_phpscriptinternal.php 2011-02-28 09:38:09.000000000 +0100
* @return string Output
*/
public function render($conf = array()) {
if (!is_array($conf) || empty($conf['scriptSuffix'])) {
throw new InvalidArgumentException('Expected parameter $conf[\'scriptSuffix\'] was not given.', 1295705938);
}
/*
* http://bugs.typo3.org/view.php?id=17726
*
* if (!is_array($conf) || empty($conf['scriptSuffix'])) {
* throw new InvalidArgumentException('Expected parameter $conf[\'scriptSuffix\'] was not given.', 1295705938);
* }
*/
$file = isset($conf['file.'])
? $this->cObj->stdWrap($conf['file'], $conf['file.'])
: $conf['file'];
    (1-1/1)