mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Don't show module index link if not in a module
This commit is contained in:
@@ -1830,7 +1830,7 @@ elsif ($ENV{'REQUEST_URI'} =~ /json-error=1/) {
|
||||
print_json(\%jerror);
|
||||
}
|
||||
else {
|
||||
&header($text{'error'}, "");
|
||||
&header($text{'error'}, "", undef, 0, $module_name ? 0 : 1);
|
||||
my $hh = $miniserv::page_capture ? " captured" : "";
|
||||
my $err_style = &read_file_contents("$root_directory/unauthenticated/errors.css");
|
||||
if ($err_style) {
|
||||
|
||||
Reference in New Issue
Block a user