gitweb: Fix tree link associated with each commit log entry.
[gitweb.git] / gitweb / gitweb.perl
index b9df3cc06bab6fd33af61af822adac0aa2045fc5..30d7d76723eeba529a8e5d095a66982f100b2beb 100755 (executable)
@@ -2871,7 +2871,7 @@ sub git_log {
                      " | " .
                      $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") .
                      " | " .
-                     $cgi->a({-href => href(action=>"tree", hash=>$commit), hash_base=>$commit}, "tree") .
+                     $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree") .
                      "<br/>\n" .
                      "</div>\n" .
                      "<i>" . esc_html($co{'author_name'}) .  " [$ad{'rfc2822'}]</i><br/>\n" .