Hi,
I found a bug in wpDiscuz 7.6.48 that causes uploaded images to display twice in comments when Lightbox is disabled.
The issue is on line 246 of utils/class.WpdiscuzHelperUpload.php:
$images .= $images .= $imageHtml;
The double concatenation operator causes the image HTML to be appended twice. It should be:
$images .= $imageHtml;
The lightbox-enabled path on line 242 is correct — it's just this else branch that has the typo.
Thanks, Nick
