Bug 31325: Fix koha-preferences get
To reproduce:
$ perl koha/misc/admin/koha-preferences get MarcFlavour
This will output something like "HASH(0x55dd4d432840)".
To test:
Apply this patch and run the command again:
$ perl koha/misc/admin/koha-preferences get MarcFlavour
This should output something like "MARC21".
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 3f1fe4f178)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
bc724da289
commit
92d541ddc4
|
|
@ -238,7 +238,9 @@ my %commands = (
|
|||
|
||||
print_usage() unless ( $preference );
|
||||
|
||||
print GetPreference( $preference ) . "\n";
|
||||
my $pref = GetPreference( $preference );
|
||||
|
||||
say $pref->{'value'};
|
||||
},
|
||||
set => sub {
|
||||
my ( $preference, $value ) = @_;
|
||||
|
|
|
|||
Loading…
Reference in New Issue