Bug 7673: Update syspref names in script

The both syspref names have been changed since the first patch.

Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2014-04-25 16:37:17 +02:00 committed by Tomas Cohen Arazi
parent 0b705b774c
commit cecdb3f27e
2 changed files with 3 additions and 3 deletions

View file

@ -159,8 +159,8 @@ sub generate_subfield_form {
my $attributes_no_value_textarea = qq(id="$subfield_data{id}" name="field_value" class="input_marceditor" rows="5" cols="64" );
# Getting list of subfields to keep when limited edition is enabled
my $subfieldsToAllowForLimitedEdition = C4::Context->preference('SubfieldsToAllowForLimitedEdition');
my @subfieldsToAllow = split(/ /, $subfieldsToAllowForLimitedEdition);
my $subfieldsToAllowForRestrictedEdition = C4::Context->preference('SubfieldsToAllowForRestrictedEdition');
my @subfieldsToAllow = split(/ /, $subfieldsToAllowForRestrictedEdition);
# If we're on limited edition, and our field is not in the list of subfields to allow,
# then it is read-only

View file

@ -300,7 +300,7 @@ unshift (@$branches, $nochange_branch);
my $pref_itemcallnumber = C4::Context->preference('itemcallnumber');
# Getting list of subfields to keep when limited batchmod edit is enabled
my $subfieldsToAllowForBatchmod = C4::Context->preference('SubfieldsToAllowForLimitedBatchmod');
my $subfieldsToAllowForBatchmod = C4::Context->preference('SubfieldsToAllowForRestrictedBatchmod');
my @subfieldsToAllow = split(/ /, $subfieldsToAllowForBatchmod);
foreach my $tag (sort keys %{$tagslib}) {