From: Jonathan Nieder Date: Sat, 4 Sep 2010 00:44:39 +0000 (-0500) Subject: gitweb: skip logo in atom feed when there is none X-Git-Tag: v1.7.3.5~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9d9f5e72dc5959750498acc81b3e2c8ca76ad499?ds=inline;hp=--cc gitweb: skip logo in atom feed when there is none With v1.5.0-rc0~169 (gitweb: Fix Atom feed : 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 Signed-off-by: Jonathan Nieder Acked-by: Jakub Narebski Signed-off-by: Junio C Hamano --- 9d9f5e72dc5959750498acc81b3e2c8ca76ad499 diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 42cc1da7ff..59b2e08b98 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -6870,7 +6870,7 @@ sub git_feed { if (defined $favicon) { print "" . esc_url($favicon) . "\n"; } - if (defined $logo_url) { + if (defined $logo) { # not twice as wide as tall: 72 x 27 pixels print "" . esc_url($logo) . "\n"; }