Current theme is always visible

This commit is contained in:
Jamie Cameron
2021-03-06 12:14:25 -08:00
parent e2866aefa9
commit c75957ccf2

View File

@@ -211,7 +211,7 @@ if ($access{'cats'}) {
[ 0, $text{'default'} ] ]));
}
my @all = &webmin::list_visible_themes();
my @all = &webmin::list_visible_themes($user{'theme'});
my @themes = grep { !$_->{'overlay'} } @all;
my @overlays = grep { $_->{'overlay'} } @all;