cvs: pearweb /public_html/bugs/include functions.inc
| From: | Daniel Convissor | Date: | Thu, 08 Jul 2004 06:15:13 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-436@lists.php.net to get a copy of this message | ||
danielc Thu Jul 8 02:15:13 2004 EDT
Modified files:
/pearweb/public_html/bugs/include functions.inc
Log:
* Avoid "->" showing up in the subject of comment messages.
http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?r1=1.61&r2=1.62&ty=u
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.61
pearweb/public_html/bugs/include/functions.inc:1.62
--- pearweb/public_html/bugs/include/functions.inc:1.61 Thu Jul 8 01:50:12 2004
+++ pearweb/public_html/bugs/include/functions.inc Thu Jul 8 02:15:13 2004
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: functions.inc,v 1.61 2004/07/08 05:50:12 danielc Exp $
+ * @version $Id: functions.inc,v 1.62 2004/07/08 06:15:13 danielc Exp $
*/
@@ -705,8 +705,8 @@
/* send mail if status was changed or there is a comment */
if ($in[status] != $bug[status] || $ncomment != "") {
- if ($in['bug_type'] != $bug['bug_type']) {
- $subj = $types[$bug['bug_type']] . '->' .
@$types[$in['bug_type']];
+ if (isset($in['bug_type']) && $in['bug_type'] !=
$bug['bug_type']) {
+ $subj = $types[$bug['bug_type']] . '->' .
$types[$in['bug_type']];
} else {
$subj = $types[$bug['bug_type']];
}