Code

gitweb: Fix Atom feed <logo>: it is $logo, not $logo_url
authorJakub Narebski <jnareb@gmail.com>
Mon, 4 Dec 2006 13:09:43 +0000 (14:09 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 4 Dec 2006 21:48:58 +0000 (13:48 -0800)
Fix contents of Atom feed <logo> element; it should be URL
of $logo, not URL pointed by logo link.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index 093bd72058cde4d766acd8057cb407e2ed6373cb..ffe8ce13ff3e5a66f3ffc548238bee29f4593f97 100755 (executable)
@@ -4282,7 +4282,7 @@ XML
                }
                if (defined $logo_url) {
                        # not twice as wide as tall: 72 x 27 pixels
-                       print "<logo>" . esc_url($logo_url) . "</logo>\n";
+                       print "<logo>" . esc_url($logo) . "</logo>\n";
                }
                if (! %latest_date) {
                        # dummy date to keep the feed valid until commits trickle in: