Skip to content

Commit

Permalink
Dont string_process_bug_link empty strings
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4353 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
mantis committed May 9, 2007
1 parent f4624d7 commit 65ee8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/string_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: string_api.php,v 1.87 2007-05-08 22:19:18 prichards Exp $
# $Id: string_api.php,v 1.88 2007-05-09 20:07:16 prichards Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -269,7 +269,7 @@ function string_process_cvs_link( $p_string, $p_include_anchor=true ) {
function string_process_bug_link( $p_string, $p_include_anchor = true, $p_detail_info = true, $p_fqdn = false ) {
$t_tag = config_get( 'bug_link_tag' );
# bail if the link tag is blank
if ( '' == $t_tag ) {
if ( '' == $t_tag || $p_string == '' ) {
return $p_string;
}

Expand Down

0 comments on commit 65ee8d8

Please sign in to comment.