Fix not to add extra line

This commit is contained in:
iliajie
2023-05-26 14:00:39 +03:00
parent 6f7e322349
commit 820e128c14
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ print $text{'refreshmods_installed'},"<br>\n";
$installed = &webmin::build_installed_modules(1); $installed = &webmin::build_installed_modules(1);
@not = grep { $installed->{$_} eq '0' } (keys %$installed); @not = grep { $installed->{$_} eq '0' } (keys %$installed);
@got = grep { $installed->{$_} ne '0' } (keys %$installed); @got = grep { $installed->{$_} ne '0' } (keys %$installed);
print &text('refeshmods_counts', scalar(@not), scalar(@got)),"<p>\n"; print &text('refeshmods_counts', scalar(@not), scalar(@got)),"\n";
# Refresh left frame, if possible # Refresh left frame, if possible
if (defined(&theme_post_change_modules)) { if (defined(&theme_post_change_modules)) {

View File

@@ -12,7 +12,7 @@ print $text{'refreshmods_installed'},"<br>\n";
($installed, $changed) = &build_installed_modules(1); ($installed, $changed) = &build_installed_modules(1);
@not = grep { $installed->{$_} eq '0' } (keys %$installed); @not = grep { $installed->{$_} eq '0' } (keys %$installed);
@got = grep { $installed->{$_} ne '0' } (keys %$installed); @got = grep { $installed->{$_} ne '0' } (keys %$installed);
print &text('refeshmods_counts', scalar(@not), scalar(@got)),"<p>\n"; print &text('refeshmods_counts', scalar(@not), scalar(@got)),"\n";
# Refresh left frame, if possible # Refresh left frame, if possible
if (@$changed && defined(&theme_post_change_modules)) { if (@$changed && defined(&theme_post_change_modules)) {