From 86197b08b824cfb82ab25ed6eee229a5c47bc144 Mon Sep 17 00:00:00 2001 From: joshferraro Date: Tue, 22 Feb 2005 22:38:21 +0000 Subject: [PATCH] Fix for bug 920. The problem was that getMARCnotes had the variable set to be the same as the loop name. --- C4/SearchMarc.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SearchMarc.pm b/C4/SearchMarc.pm index 5f8d71ecbe..18ea6b343f 100644 --- a/C4/SearchMarc.pm +++ b/C4/SearchMarc.pm @@ -513,7 +513,7 @@ sub getMARCnotes { $value=$value . " "; } if ($thistag ne $tag && $note ne "") { - $marcnote = {MARCNOTES => $note,}; + $marcnote = {marcnote => $note,}; push @marcnotes, $marcnote; $note=$value; $tag=$thistag; @@ -524,7 +524,7 @@ sub getMARCnotes { } if ($note) { - $marcnote = {MARCNOTES => $note}; + $marcnote = {marcnote => $note}; push @marcnotes, $marcnote; #load last tag into array } -- 2.39.5