[0005735] Problems with sending emails with encoding other than ASCII - fixed.
[fa-stable.git] / reporting / rep107.php
index 1362d5d1591816a6304cf7fa8f2765f14c4a2ff6..3aa5d050263f20af554f3028597d5887e6c61df5 100644 (file)
@@ -324,7 +324,7 @@ function print_invoices()
                        $rep->Font();
                        if ($email == 1)
                        {
-                               $rep->End($email, sprintf(_("Invoice %s from %s"), $myrow['reference'], get_company_pref('coy_name')));
+                               $rep->End($email, sprintf(_("Invoice %s from %s"), $myrow['reference'], htmlspecialchars_decode(get_company_pref('coy_name'))));
                        }
        }
        if ($email == 0)