From: Gilles Darold Date: Tue, 11 Sep 2018 18:46:26 +0000 (+0200) Subject: Fix URI for CSS in incremental mode. Thanks to Floris van Nee for the report. X-Git-Tag: v10.1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be5d9362c2472e5f58da108579393a4b2a789733;p=pgbadger Fix URI for CSS in incremental mode. Thanks to Floris van Nee for the report. --- diff --git a/pgbadger b/pgbadger index ee8515d..854249a 100755 --- a/pgbadger +++ b/pgbadger @@ -2323,7 +2323,6 @@ sub write_resources } return @contents; - } sub sort_by_week @@ -4839,7 +4838,7 @@ sub html_header my @tmpjscode = @jscode; for (my $i = 0; $i <= $#tmpjscode; $i++) { - $tmpjscode[$i] =~ s/EDIT_URI/\./; + $tmpjscode[$i] =~ s/EDIT_URI/$uri/; } my $local_title = 'PostgreSQL Log Analyzer';