Btw. I have added the Kunena Forum [ CONFIDENTIAL ] protection around your confidential part.
You spotted the issue line. Thanks!
Try changing it to:
Code:
$this->invoiceNumberHtml = '<span class="cbregInvTitle">'
. str_replace( '[INVOICENUMBER]', '<span class="cbregInvField">' . htmlspecialchars( $invoice->invoice ) . '</span>', str_replace( ' ', ' ', $this->invoiceNumberTitle ) )
. '</span>';
(replaces done in wrong order)
Works now correctly ?
#6506