cvs: php-bugs-web / report.php
| From: | Gabor Hojtsy | Date: | Mon, 19 Jan 2004 15:27:50 +0000 |
| Subject: | cvs: php-bugs-web / report.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-23037@lists.php.net to get a copy of this message | ||
goba Mon Jan 19 10:27:50 2004 EDT
Modified files:
/php-bugs-web report.php
Log:
Do not advise the user on sending the bug in a mail, if it will be
bounced back by the mail server anyway. Only advise the user to do this,
if the mail address will not bounce the mail back.
http://cvs.php.net/diff.php/php-bugs-web/report.php?r1=1.45&r2=1.46&ty=u
Index: php-bugs-web/report.php
diff -u php-bugs-web/report.php:1.45 php-bugs-web/report.php:1.46
--- php-bugs-web/report.php:1.45 Mon Dec 8 11:56:57 2003
+++ php-bugs-web/report.php Mon Jan 19 10:27:49 2004
@@ -182,20 +182,18 @@
} else {
commonHeader("Report - Error");
-
echo "<pre>\n";
-
echo $report;
-
echo htmlspecialchars($sdesc), "\n\n";
-
echo wordwrap(htmlspecialchars($fdesc));
-
echo "</pre>\n";
-
- echo "<p><h2>Mail not sent!</h2>\n";
- echo "Please send this page in a mail to " .
- "<a href=\"mailto:$mailto\">$mailto</a>
manually.</p>\n";
+ echo "<h2>Mail not sent!</h2><p>\n";
+ if ($mailto == 'php-bugs@lists.php.net') {
+ echo "Please save your bug report, come back later, and try to report the bug
again.</p>";
+ } else {
+ echo "Please send this page in a mail to " .
+ "<a href=\"mailto:$mailto\">$mailto</a>
manually.</p>\n";
+ }
}
} else {
}