Bug #20541 » bug_11238.diff
typo3_src/typo3/sysext/cms/tslib/class.tslib_content.php 2010-09-30 15:59:33.000000000 +0200 | ||
---|---|---|
$theValue = $this->wrap($theValue,$conf['wrap']);
|
||
if ($conf['stdWrap.']) $theValue = $this->stdWrap($theValue,$conf['stdWrap.']);
|
||
$GLOBALS['TSFE']->currentRecord = $originalRec; // Restore
|
||
|
||
if ($originalRec) {
|
||
$GLOBALS['TSFE']->recordRegister[$originalRec]--;
|
||
}
|
||
|
||
return $theValue;
|
||
}
|
||
... | ... | |
if ($conf['stdWrap.']) $theValue = $this->stdWrap($theValue,$conf['stdWrap.']);
|
||
$GLOBALS['TSFE']->currentRecord = $originalRec; // Restore
|
||
|
||
if ($originalRec) {
|
||
$GLOBALS['TSFE']->recordRegister[$originalRec]--;
|
||
}
|
||
|
||
return $theValue;
|
||
}
|