Index: typo3/sysext/cms/tslib/class.tslib_pibase.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- typo3/sysext/cms/tslib/class.tslib_pibase.php (revision ) +++ typo3/sysext/cms/tslib/class.tslib_pibase.php (revision ) @@ -181,6 +181,16 @@ */ function pi_setPiVarDefaults() { if (is_array($this->conf['_DEFAULT_PI_VARS.'])) { + foreach($this->conf['_DEFAULT_PI_VARS.'] as $GPkey => $GPval) { + if (strpos($GPkey,'.')) { + $GPkey = substr($GPkey,0,-1); + } + if (is_array($this->conf['_DEFAULT_PI_VARS.'][$GPkey.'.']['stdWrap.'])) { + $GPval = $GPval ? $GPval : ''; + $this->conf['_DEFAULT_PI_VARS.'][$GPkey] = $this->cObj->stdWrap($GPval, $this->conf['_DEFAULT_PI_VARS.'][$GPkey.'.']['stdWrap.']); + unset($this->conf['_DEFAULT_PI_VARS.'][$GPkey.'.']['stdWrap.']); + } + } $this->piVars = t3lib_div::array_merge_recursive_overrule($this->conf['_DEFAULT_PI_VARS.'],is_array($this->piVars)?$this->piVars:array()); } }