Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (revision 5535) +++ typo3/sysext/cms/tslib/class.tslib_content.php (working copy) @@ -5028,7 +5028,8 @@ $parts = explode(':',$secVal,2); $key = trim($parts[1]); if ((string)$key!='') { - switch(strtolower(trim($parts[0]))) { + $type = strtolower(trim($parts[0])); + switch($type) { case 'gp': case 'gpvar': list($firstKey, $rest) = explode('|', $key, 2); @@ -5041,7 +5042,9 @@ // Check that output is not an array: if (is_array($retVal)) $retVal = ''; } - t3lib_div::deprecationLog('Using gpvar in TypoScript getText is deprecated since TYPO3 4.3 - Use gp instead of gpvar.'); + if ($type == 'gpvar') { + t3lib_div::deprecationLog('Using gpvar in TypoScript getText is deprecated since TYPO3 4.3 - Use gp instead of gpvar.'); + } break; case 'tsfe': $retVal = $this->getGlobal ('TSFE|'.$key); @@ -5063,6 +5066,7 @@ break; case 'global': $retVal = $this->getGlobal($key); + t3lib_div::deprecationLog('Using global in TypoScript getText is deprecated since TYPO3 4.2 - Use gp, tsfe or getenv instead.'); break; case 'leveltitle': $nkey = $this->getKey($key,$GLOBALS['TSFE']->tmpl->rootLine);