Skip to content

Commit

Permalink
Don't exit early if custom head or body JS is defined #1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Mar 27, 2017
1 parent 70f32c4 commit cecdfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Virtualmin/GoogleAnalytics.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub handler {
my $bodyjs_file = $f->r->dir_config("BodyJavascriptFile");
my $ssl = $f->r->dir_config("SSL");
if (!$account && !$mybloglog && !$quantcast && !$clicky &&
!$woopra && !$piwik) {
!$woopra && !$piwik && !$headjs_file && !$bodyjs_file) {
# No account set yet, so nothing to do!
return Apache2::Const::DECLINED;
}
Expand Down

0 comments on commit cecdfd1

Please sign in to comment.