Selaa lähdekoodia

fixed the apostrophe problem (again) (:

Luke Ehresman 25 vuotta sitten
vanhempi
commit
355623ec79
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -89,7 +89,7 @@
       if ($reply_to != "")
       if ($reply_to != "")
          fputs($smtpConnection, "Reply-To: $reply_to\n");
          fputs($smtpConnection, "Reply-To: $reply_to\n");
 
 
-
+      $body = stripslashes($body);
       fputs($smtpConnection, "$body\n"); // send the body of the message
       fputs($smtpConnection, "$body\n"); // send the body of the message
 
 
       fputs($smtpConnection, ".\n"); // end the DATA part
       fputs($smtpConnection, ".\n"); // end the DATA part