diff --git a/plugins/plugins-available/reports2/lib/Thruk/Utils/Reports/Render.pm b/plugins/plugins-available/reports2/lib/Thruk/Utils/Reports/Render.pm index 5bc34a391..6c1bad2e2 100644 --- a/plugins/plugins-available/reports2/lib/Thruk/Utils/Reports/Render.pm +++ b/plugins/plugins-available/reports2/lib/Thruk/Utils/Reports/Render.pm @@ -1101,6 +1101,7 @@ sub _read_static_content_file { $url =~ s|^themes/||gmx; my $themes_dir = $c->config->{'themes_path'} || $c->config->{'project_root'}.'/themes'; $file = $themes_dir . '/themes-enabled/' . $url; + $file =~ s/\?.*$//gmx; if(!-e $file && defined $default) { $url =~ s|^Thruk/|$default/|gmx; # disabled theme? try available folder