From 46448f287f3fdd5667e678989999188c5c0a53f3 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 29 Jun 2020 17:23:35 +0400 Subject: [PATCH] Bug 21395: Fix misc/admin/koha-preferences --- misc/admin/koha-preferences | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/admin/koha-preferences b/misc/admin/koha-preferences index ad19a395a2..05667b8133 100755 --- a/misc/admin/koha-preferences +++ b/misc/admin/koha-preferences @@ -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); -- 2.20.1