bug 1091: Thou shall not use \n in single quotes bug-1091
authorMichael Tänzer <neo@nhng.de>
Tue, 2 Oct 2012 22:28:19 +0000 (00:28 +0200)
committerMichael Tänzer <neo@nhng.de>
Tue, 2 Oct 2012 22:28:19 +0000 (00:28 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
includes/mysql.php.sample

index ff5cfc3..eb86401 100644 (file)
@@ -28,7 +28,7 @@
 
        function sendmail($to, $subject, $message, $from, $replyto = "", $toname = "", $fromname = "", $errorsto = "returns@cacert.org", $extra="")
        {
-               $lines = explode('\n', $message);
+               $lines = explode("\n", $message);
                $message = "";
                foreach($lines as $line)
                {