diff --git a/C4/Items.pm b/C4/Items.pm index 297289e36e..a0a5f4b9de 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -1537,7 +1537,7 @@ sub GetHiddenItemnumbers { my @resultitems; my $yaml = C4::Context->preference('OpacHiddenItems'); - $yaml = "$yaml\n"; # YAML is anal on ending \n. Surplus does not hurt + $yaml = "$yaml\n\n"; # YAML is anal on ending \n. Surplus does not hurt my $hidingrules; eval { $hidingrules = YAML::Load($yaml);