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