CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #30073

stdWrap of description wraps the whole description of multiple files

Added by over 1 year ago.

Status:New Start date:2011-09-20
Priority:Must have Due date:
Assignee:Juraj Sulek % Done:

0%

Category:-
Target version:-
Votes: 0

Description

tt_content.uploads.20.description.stdwrap.wrap =[|]
This will prepend the description of the first file with "[" and append the description of the last file with "]".

Solution:
The wraps in line 307 and 308 should be done in the foreach-loop for $file_arr (line 316ff), for instace after line 329.

now:
$description=$descriptionArray[$i]!=''?$descriptionArray[$i]:$descriptionIfEmpty;

my purpose:
$description=$descriptionArray[$i]!=''?$descriptionArray[$i]:$descriptionIfEmpty;
$description = $this->cObj->stdWrap($description,$conf['description.'])

and lines 307/308 deleted.

Greetings
Harald

Also available in: Atom PDF