Bug 21395: Fix misc/admin/koha-preferences
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3b06780fb2
commit
d3f0fc135b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue