Skip to content

Commit 0b45010

Browse files
jnarebgitster
authored andcommitted
gitweb: Fix typo in run() subroutine
Run $post_dispatch_hook->() not $pre_dispatch_hook->() after each request. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 8497421 commit 0b45010

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
@@ -1125,7 +1125,7 @@ sub run {
11251125

11261126
run_request();
11271127

1128-
$pre_dispatch_hook->()
1128+
$post_dispatch_hook->()
11291129
if $post_dispatch_hook;
11301130

11311131
last REQUEST if ($is_last_request->());

0 commit comments

Comments
 (0)