Bug #15754

The ext_typoscript_setup.txt files sometimes don't get included

Added by Ingmar Schlecht about 15 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-03-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Bug in t3lib_tstemplate::addExtensionStatics():

When the template having the "rootlevel" flag is not the same as the template having the "clear constants" and "clear setup" flags, the ext_typoscript_setup.txt and ext_typoscript_constants.txt don't get included.

The condition if(...&&$row['root']) should be changed to if(...&&$row['clear']&1) for the ext_typoscript_constants.txt inclusion and if(...&&$row['clear']&2) for the the ext_typoscript_setup.txt.

(issue imported from #M2747)

Also available in: Atom PDF