Should encode from name properly as well
authorJoey Schulze <joey@infodrom.org>
Thu, 27 Dec 2012 08:16:29 +0000 (09:16 +0100)
committerJoey Schulze <joey@infodrom.org>
Thu, 27 Dec 2012 08:16:29 +0000 (09:16 +0100)
utils.php

index 78292c6..5bd6ce4 100644 (file)
--- a/utils.php
+++ b/utils.php
@@ -204,7 +204,7 @@ function ordersatz_write($id, $dir, $send)
     mail_attach($satz[0]['email'],
                mb_encode_mimeheader(utf8_decode('Ordersatz ' . $satz[0]['name']),'latin1'),
                $satz[0]['email'],
-               'Infodrom ' . $satz[0]['koch'],
+               mb_encode_mimeheader(utf8_decode('Infodrom ' . $satz[0]['koch']),'latin1'),
                array($dir . '/ordersatz.pdf'),
                $message);