@@ -, +, @@ Acquisition --- C4/Acquisition.pm | 2 +- acqui/neworderempty.pl | 2 +- acqui/orderreceive.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/C4/Acquisition.pm +++ a/C4/Acquisition.pm @@ -3001,7 +3001,7 @@ If the field does not exist, it will be created too. sub FillWithDefaultValues { my ($record) = @_; - my $tagslib = C4::Biblio::GetMarcStructure( 1, 'ACQ' ); + my $tagslib = C4::Biblio::GetMarcStructure( 1, 'ACQ', { unsafe => 1 } ); if ($tagslib) { my ($itemfield) = C4::Biblio::GetMarcFromKohaField( 'items.itemnumber', '' ); --- a/acqui/neworderempty.pl +++ a/acqui/neworderempty.pl @@ -265,7 +265,7 @@ $template->param( sort2 => $data->{'sort2'} ); if (C4::Context->preference('AcqCreateItem') eq 'ordering' && !$ordernumber) { # Check if ACQ framework exists - my $marc = GetMarcStructure(1, 'ACQ'); + my $marc = GetMarcStructure(1, 'ACQ', { unsafe => 1 } ); unless($marc) { $template->param('NoACQframework' => 1); } --- a/acqui/orderreceive.pl +++ a/acqui/orderreceive.pl @@ -112,7 +112,7 @@ unless ( $results and @$results) { my $order = $results->[0]; # Check if ACQ framework exists -my $acq_fw = GetMarcStructure(1, 'ACQ'); +my $acq_fw = GetMarcStructure( 1, 'ACQ', { unsafe => 1 } ); unless($acq_fw) { $template->param('NoACQframework' => 1); } --