Bug Editing File Description Removes all Line Breaks

Status
Not open for further replies.

Webbstre

Customer
This is somewhat urgent, as I've just launched this on my live site. It turns out that whenever someone edits the description of their file it removes ALL line breaks, mooshing everything into a single paragraph. I use the BBCode editor on my site, if that makes a difference.
 
I'm surprised no one caught that before, sorry about that.

Try opening dbtech/downloads/actions/editdownload.php

On about line 42 find

PHP:
    $message = Downloads::convert_wysiwyg_html_to_bbcode($editinfo['groupdesc']);

replace with

PHP:
    $message = $editinfo['groupdesc'];

That should fix it, let me know if it doesn't.
 
Status
Not open for further replies.

Legacy vBDownloads

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,713
Customer rating
0.00 star(s) 0 ratings
Back
Top