| Helgi Þormar Þorbjörnsson 2005-04-23, 3:56 am |
| 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-bug...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>
|