cvs: php-bugs-web /include functions.inc
| From: | Jani Taskinen | Date: | Mon, 30 Jun 2003 13:31:55 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19041@lists.php.net to get a copy of this message | ||
sniper Mon Jun 30 09:31:55 2003 EDT
Modified files:
/php-bugs-web/include functions.inc
Log:
For comments, get the status/os/etc. from the $bug array
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.81 php-bugs-web/include/functions.inc:1.82
--- php-bugs-web/include/functions.inc:1.81 Mon Jun 30 08:30:41 2003
+++ php-bugs-web/include/functions.inc Mon Jun 30 09:31:55 2003
@@ -340,9 +340,9 @@
$dev_text,
"From: $from\n".
"X-PHP-Bug: $bug[id]\n".
- "X-PHP-Version: " . stripslashes($in['php_version']) . "\n"
.
- "X-PHP-Category: " . stripslashes($in['bug_type']) . "\n"
.
- "X-PHP-OS: " . stripslashes($in['php_os']) . "\n"
.
+ "X-PHP-Version: " . stripslashes((($edit != 3) ? $in['php_version'] :
$bug['php_version'])) . "\n" .
+ "X-PHP-Category: " . stripslashes((($edit != 3) ? $in['bug_type'] :
$bug['bug_type'])) . "\n" .
+ "X-PHP-OS: " . stripslashes((($edit != 3) ? $in['php_os'] :
$bug['php_os'])) . "\n" .
"X-PHP-Status: {$in['status']}\n" .
"In-Reply-To: <bug-$bug[id]@bugs.php.net>");
}