cvs: php-bugs-web / report.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sat, 23 Apr 2005 01:52:40 +0000 |
| Subject: | cvs: php-bugs-web / report.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-27999@lists.php.net to get a copy of this message | ||
dufuz Fri Apr 22 21:52:40 2005 EDT
Modified files:
/php-bugs-web report.php
Log:
Do not email if DEVBOX is set to true.
http://cvs.php.net/diff.php/php-bugs-web/report.php?r1=1.58&r2=1.59&ty=u
Index: php-bugs-web/report.php
diff -u php-bugs-web/report.php:1.58 php-bugs-web/report.php:1.59
--- php-bugs-web/report.php:1.58 Fri Apr 22 09:25:08 2005
+++ php-bugs-web/report.php Fri Apr 22 21:52:39 2005
@@ -178,7 +178,7 @@
$extra_headers.= "Message-ID: <bug-$cid@bugs.php.net>";
// mail to appropriate mailing lists
- if (mail($mailto, "#$cid [NEW]: $sdesc", $ascii_report."1\n-- \n$dev_extra",
$extra_headers)) {
+ if (!DEVBOX && mail($mailto, "#$cid [NEW]: $sdesc", $ascii_report."1\n--
\n$dev_extra", $extra_headers)) {
// mail to reporter
@mail($email, "Bug #$cid: $sdesc", $ascii_report."2\n", "From: PHP Bug
Database <$mailfrom>\nX-PHP-Bug: $cid\nMessage-ID: <bug-$cid@bugs.php.net>");
@@ -278,9 +278,9 @@
</tr>
<tr>
<th align="right">CAPTCHA:</th>
- <td colspan="2"><font size="-1">
- <?php echo generate_captcha(); ?>
- </font></td>
+ <td colspan="2"><font size="-1">
+ <?php echo generate_captcha(); ?>
+ </font></td>
</tr>
</table>