Issue Bug Closed

#16611stdWrap-property in stdWrap doesn't work like expected

Irene Höppner 09/30/06, 23:19 updated 03/13/07, 15:26

Description

If you do something like this:

page.5 = TEXT
page.5.stdWrap.wrap =
|

the wrap is beeing ignored.

The reason is the function call in class.tslib_content.php, line 3204:
if ($conf[‘stdWrap’]) { $content=$this->stdWrap($content,$conf[‘stdWrap.’]); }

It should be

if (isset($conf[‘stdWrap.’])) { $content=$this->stdWrap($content,$conf[‘stdWrap.’]); }

The way it is now, you need something like
page.5.stdwrap = sldfjkls
to get the recursive stdWrap working, which makes no sense.

I guess the problem exists since the introduction of this property, which was 3.6 or 3.8.
(issue imported from #M4312)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.