cvs: bugtracker /includes bug.php
| From: | Barry Carlyon | Date: | Thu, 14 Aug 2008 00:00:41 +0000 |
| Subject: | cvs: bugtracker /includes bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2409@lists.php.net to get a copy of this message | ||
bcarlyon Thu Aug 14 00:00:41 2008 UTC
Modified files:
/bugtracker/includes bug.php
Log:
Fix dual http:// in sending bug update emails
http://cvs.php.net/viewvc.cgi/bugtracker/includes/bug.php?r1=1.16&r2=1.17&diff_format=u
Index: bugtracker/includes/bug.php
diff -u bugtracker/includes/bug.php:1.16 bugtracker/includes/bug.php:1.17
--- bugtracker/includes/bug.php:1.16 Wed Aug 13 23:59:03 2008
+++ bugtracker/includes/bug.php Thu Aug 14 00:00:41 2008
@@ -38,7 +38,7 @@
* @author Barry Carlyon <bcarlyon@php.net>
* @copyright 2008-2008 Barry Carlyon
* @license http://www.opensource.org/licenses/bsd-license.php
BSD License
-* @version CVS: $Id: bug.php,v 1.16 2008/08/13 23:59:03 bcarlyon Exp $
+* @version CVS: $Id: bug.php,v 1.17 2008/08/14 00:00:41 bcarlyon Exp $
* @link http://gsoc.barrycarlyon.servegame.org/
*/
@@ -141,7 +141,7 @@
$db->get_data($query);
}
//email time
- $email_message = 'Greetings,' . "\n\r\n\r" . 'The bug http://' . $cookie['host'] . 'bug/' .
$this->bug_id . '/ has been updated';
+ $email_message = 'Greetings,' . "\n\r\n\r" . 'The bug ' .
$cookie['host'] . 'bug/' . $this->bug_id . '/ has been updated';
$email_message .= "\n\r\n\r" . 'The update was ';
$email_message .= 'Bug Assigned to: ' . $target . ', by ' . $user->handle
. ', the bug\'s status is currently: ' .
$cache->obtain('status',$this->bug_data['status']);
//email the reportee