Bug 25672: (QA follow-up): tidy up code

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Victor Grousset 2023-10-09 03:54:00 +02:00 committed by Tomas Cohen Arazi
parent ea22082649
commit da2083288e
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ if ($plugins_enabled) {
}
);
$template->param( plugins => \@plugins, );
$template->param( plugins => \@plugins, );
$template->param( plugins_restricted => C4::Context->config('plugins_restricted') );
$template->param( can_search => C4::Context->config('plugin_repos') ? 1 : 0 );

View file

@ -40,7 +40,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
my $class = $input->param('class');
if ( $class ) {
if ($class) {
Koha::Plugins::Handler->delete( { class => $class } );
}