PHP 8 rerun of number_format fix.
[fa-stable.git] / reporting / rep108.php
index 9a12e40ad94b6eb94564f6919ba3635d2197500f..3c8b7310603de03df262b8358108855624bab293 100644 (file)
@@ -177,9 +177,9 @@ function print_statements()
                if ($email == 1)
                {
             if (($CustomerRecord["Balance"]) != ($CustomerRecord["Balance"] - $CustomerRecord["Due"]))
-                $rep->End($email, _("Statement") . " " . _("as of") . " " . sql2date($date) . " " . _("from") . " " . get_company_pref('coy_name'));
+                $rep->End($email, _("Statement") . " " . _("as of") . " " . sql2date($date) . " " . _("from") . " " . htmlspecialchars_decode(get_company_pref('coy_name')));
             else
-                display_notification(sprintf(_("Customer %s has no overdue debs. No e-mail is send."), $myrow["DebtorName"]));       
+                display_notification(sprintf(_("Customer %s has no overdue debits. No e-mail is sent."), $myrow["DebtorName"]));       
         }
        }