Bug #30073
stdWrap of description wraps the whole description of multiple files
| 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