cvs: php-bugs-web /include functions.inc
| From: | Jani Taskinen | Date: | Fri, 26 Jul 2002 20:58:23 +0000 |
| Subject: | cvs: php-bugs-web /include functions.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11573@lists.php.net to get a copy of this message | ||
sniper Fri Jul 26 16:58:23 2002 EDT
Modified files:
/php-bugs-web/include functions.inc
Log:
Fix some bugs..
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.40 php-bugs-web/include/functions.inc:1.41
--- php-bugs-web/include/functions.inc:1.40 Fri Jul 26 15:50:35 2002
+++ php-bugs-web/include/functions.inc Fri Jul 26 16:58:23 2002
@@ -183,7 +183,7 @@
switch ($edit) {
case 3:
- $headers[] = array(" Comment by", rinse($in['email']));
+ $headers[] = array(" Comment by", rinse($in['commentemail']));
break;
case 2:
$headers[] = array(" User updated by", txfield('email'));
@@ -260,7 +260,7 @@
/* send mail if status was changed or there is a comment */
if ($in[status] != $bug[status] || $ncomment != "") {
- if ($in[status] != $bug[status]) { /* status changed */
+ if ($in[status] != $bug[status] && $edit != 3) { /* status changed */
$subj = "#{$bug['id']}
[{$bug['status']}->{$in['status']}]: ";
} elseif ($edit == 3) { /* comment */
$subj = "#{$bug['id']} [Comment]: ";