From 600f1b17b4c5b351e33f700186e6f738a30bfd0d Mon Sep 17 00:00:00 2001 From: e107steved Date: Tue, 21 Sep 2010 18:06:56 +0000 Subject: [PATCH] Avoid duplicate message when emailing items - thanks btoovey --- email.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/email.php b/email.php index 48bdeff1f..caa060a7a 100644 --- a/email.php +++ b/email.php @@ -89,7 +89,7 @@ if (isset($_POST['emailsubmit'])) if ($comments == '') { - $message = LAN_EMAIL_188.' '.SITENAME.' ('.SITEURL.')'; + $message = LAN_EMAIL_6.' '.SITENAME.' ('.SITEURL.')'; if (USER == TRUE) { $message .= "\n\n".LAN_EMAIL_1." ".USERNAME; @@ -101,7 +101,7 @@ if (isset($_POST['emailsubmit'])) } else { - $message .= $comments."\n"; +// $message .= $comments."\n"; // Added to message later on } $ip = $e107->getip(); $message .= "\n\n".LAN_EMAIL_2." ".$ip."\n\n";