cvs: php-bugs-web /include functions.inc
| From: | Jani Taskinen | Date: | Thu, 18 Sep 2003 23:46:18 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-21089@lists.php.net to get a copy of this message | ||
sniper Thu Sep 18 19:46:18 2003 EDT
Modified files:
/php-bugs-web/include functions.inc
Log:
Spam "protect" the commentor email addys too.
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.96 php-bugs-web/include/functions.inc:1.97
--- php-bugs-web/include/functions.inc:1.96 Thu Sep 18 05:46:41 2003
+++ php-bugs-web/include/functions.inc Thu Sep 18 19:46:18 2003
@@ -230,7 +230,7 @@
switch ($edit) {
case 3:
$from_addr = spam_protect(rinse($in['commentemail']));
- $headers[] = array(" Comment by", $from);
+ $headers[] = array(" Comment by", $from_addr);
$from = "\"$from_addr\" <$mailfrom>";
break;
case 2: