BUGFIX: mysql needs to return NULL when nothing was found
[e-DoKo.git] / include / functions.php
index 47e80895f2cd5573e45512516fdf207e9f1a3f68..191823d6de6f45db89e3c144ea307c8522dcbdac 100644 (file)
@@ -218,9 +218,9 @@ function sendmail($To,$Subject,$message)
   if(isset($EMAIL_REPLY))
     $header .= "From: e-DoKo daemon <$EMAIL_REPLY>\r\n";
 
-  $headers .= "Content-Type: text/plain; charset = \"UTF-8\";\r\n";
-  $headers .= "Content-Transfer-Encoding: 8bit\r\n";
-  $headers .= "\r\n";
+  $header .= "Content-Type: text/plain; charset = \"UTF-8\";\r\n";
+  $header .= "Content-Transfer-Encoding: 8bit\r\n";
+  $header .= "\r\n";
 
   if($debug)
     {