Skip to content

Commit

Permalink
Use $g_logo_image for RSS feeds
Browse files Browse the repository at this point in the history
The code was using an hardcoded image name (mantis_logo_button.gif),
obsolete since the introduction of the new MantisBT logo, back in
2012 / 1.2.9 (!)

Fixes #21133
  • Loading branch information
dregad committed Feb 2, 2020
1 parent cbded1e commit a91e7e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion issues_rss.php
Expand Up @@ -102,7 +102,7 @@
$t_encoding = 'utf-8';
$t_about = $t_path;
$t_title = config_get( 'window_title' );
$t_image_link = $t_path . 'images/mantis_logo_button.gif';
$t_image_link = $t_path . config_get( 'logo_image' );

# only rss 2.0
$t_category = project_get_name( $f_project_id );
Expand Down
2 changes: 1 addition & 1 deletion news_rss.php
Expand Up @@ -89,7 +89,7 @@
}

$t_description = $t_title;
$t_image_link = config_get_global( 'path' ) . 'images/mantis_logo_button.gif';
$t_image_link = config_get_global( 'path' ) . config_get( 'logo_image' );;

# only rss 2.0
$t_category = string_rss_links( project_get_name( $f_project_id ) );
Expand Down

0 comments on commit a91e7e1

Please sign in to comment.