Project

General

Profile

Bug #33059 ยป patch.diff

Frederic Gaus, 2012-01-09 10:10

View differences:

typo3_src-4.6.3/typo3/sysext/cms/tslib/class.tslib_content.php 2012-01-09 09:48:18.000000000 +0100
// If link is to a access restricted page which should be redirected, then find new URL:
if ($GLOBALS['TSFE']->config['config']['typolinkLinkAccessRestrictedPages']
&& $GLOBALS['TSFE']->config['config']['typolinkLinkAccessRestrictedPages'] !== 'NONE'
&& !$GLOBALS['TSFE']->checkPageGroupAccess($page)) {
&& !$GLOBALS['TSFE']->checkPageGroupAccess($page)
&& !$conf['linkAccessRestrictedPages']) {
$thePage = $GLOBALS['TSFE']->sys_page->getPage($GLOBALS['TSFE']->config['config']['typolinkLinkAccessRestrictedPages']);
    (1-1/1)