Skip to content

Commit 9d9f5e7

Browse files
jrngitster
authored andcommitted
gitweb: skip logo in atom feed when there is none
With v1.5.0-rc0~169 (gitweb: Fix Atom feed <logo>: it is $logo, not $logo_url, 2006-12-04), the logo URI to be written to Atom feeds was corrected but the case of no logo forgotten. Acked-by: Eric Wong <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]> Acked-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 57da204 commit 9d9f5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6870,7 +6870,7 @@ sub git_feed {
68706870
if (defined $favicon) {
68716871
print "<icon>" . esc_url($favicon) . "</icon>\n";
68726872
}
6873-
if (defined $logo_url) {
6873+
if (defined $logo) {
68746874
# not twice as wide as tall: 72 x 27 pixels
68756875
print "<logo>" . esc_url($logo) . "</logo>\n";
68766876
}

0 commit comments

Comments
 (0)