Project

General

Profile

Bug #17014 ยป patch_bug0005030.diff

Administrator Admin, 2007-06-14 10:48

View differences:

class.tslib_pagegen.php 2007-06-14 09:47:49.000000000 +0100
* @return void
*/
function pagegenInit() {
if ($GLOBALS['TSFE']->page['content_from_pid']>0) {
if ($GLOBALS['TSFE']->page['content_from_pid']>0 && $GLOBALS['TSFE']->page['doktype']==2) {
$temp_copy_TSFE = clone($GLOBALS['TSFE']); // make REAL copy of TSFE object - not reference!
$temp_copy_TSFE->id = $GLOBALS['TSFE']->page['content_from_pid']; // Set ->id to the content_from_pid value - we are going to evaluate this pid as was it a given id for a page-display!
$temp_copy_TSFE->getPageAndRootlineWithDomain($GLOBALS['TSFE']->config['config']['content_from_pid_allowOutsideDomain']?0:$GLOBALS['TSFE']->domainStartPage);
    (1-1/1)