PHP MIRRORS 7 CVS PHP BUGS WEB INCLUDE FUNCTIONS INC
Date: Mon, 30 Jun 2003 13:31:55 -0000

Subject: cvs: php-bugs-web /include functions.inc
From: sniper@no-spam (Jani Taskinen)

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
@@no-spam -340,9 +340,9 @@no-spam $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]@no-spam>");
}