Bug 21395: Fix misc/admin/koha-preferences

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d3f0fc135b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Julian Maurice 2020-06-29 17:23:35 +04:00 committed by Lucas Gass
parent b9d54b390d
commit c0136357c5
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ print_usage() if ( $ARGV[0] =~ /^(-h|--help|-help|help)$/ );
print_usage( 1 ) if ( !$ARGV[0] || ref($commands{$ARGV[0]}) ne 'CODE' );
$command = $commands{$ARGV[0]};
my $command = $commands{$ARGV[0]};
shift @ARGV;
$command->(@ARGV);