From 23259d85195ee18398c620c5c253a31c172ab676 Mon Sep 17 00:00:00 2001 From: Kenzaburo Ito Date: Fri, 29 Mar 2002 06:47:26 +0000 Subject: [PATCH] Fixed # bug links in emails. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@827 f5dc347c-c33d-0410-90a0-b07cc1902cb9 --- core_email_API.php | 1 - core_helper_API.php | 4 ++-- doc/ChangeLog | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core_email_API.php b/core_email_API.php index cef170be79..b3c8a6e40e 100644 --- a/core_email_API.php +++ b/core_email_API.php @@ -383,7 +383,6 @@ function email_build_bugnote_message( $p_bug_id ) { $t_message = $t_message.$g_email_separator2."\n"; $t_message = $t_message.wordwrap( $t_note )."\n\n"; } - return $t_message; } # -------------------- diff --git a/core_helper_API.php b/core_helper_API.php index 701242e8e5..0982e9c02f 100644 --- a/core_helper_API.php +++ b/core_helper_API.php @@ -272,11 +272,11 @@ function process_bug_link_email( $p_string ) { if ( ON == get_current_user_pref_field( "advanced_view" ) ) { return preg_replace("/#([0-9]+)/", - "http://$g_view_bug_advanced_page?f_id=\\1", + "$g_view_bug_advanced_page?f_id=\\1", $p_string); } else { return preg_replace("/#([0-9]+)/", - "http://$g_view_bug_page?f_id=\\1", + "$g_view_bug_page?f_id=\\1", $p_string); } } diff --git a/doc/ChangeLog b/doc/ChangeLog index 19edc1e5bd..72bbb1b41c 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -8,6 +8,7 @@ Mantis * Fixed problems with documentation links. * Fixed a few documentation errors in configuration.html. * Fixed bug_update to no longer cut off steps_to_reproduce if it has quotation marks. + * Fixed # bug links in emails. * Modified accounts so that protected accounts are not accessible by the user. * Modified report page formating. * Modified file size reports to show up as bytes.