cvs: php-bugs-web / report.php
| From: | Hannes Magnusson | Date: | Sun, 07 Jan 2007 17:11:24 +0000 |
| Subject: | cvs: php-bugs-web / report.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-33730@lists.php.net to get a copy of this message | ||
bjori Sun Jan 7 17:11:24 2007 UTC
Modified files:
/php-bugs-web report.php
Log:
Don't display "cannot send mail" error message when running with DEVBOX defined
http://cvs.php.net/viewvc.cgi/php-bugs-web/report.php?r1=1.65&r2=1.66&diff_format=u
Index: php-bugs-web/report.php
diff -u php-bugs-web/report.php:1.65 php-bugs-web/report.php:1.66
--- php-bugs-web/report.php:1.65 Fri May 5 12:47:07 2006
+++ php-bugs-web/report.php Sun Jan 7 17:11:24 2007
@@ -190,8 +190,10 @@
header("Location: bug.php?id=$cid&thanks=4");
exit;
+ } elseif(DEVBOX) {
+ header("Location: bug.php?id=$cid&thanks=4");
+ exit;
} else {
-
commonHeader("Report - Error");
echo "<pre>\n";
echo $report;