From c2e65e06c6ecd4c5eeaab452bb2d505abc418d43 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sun, 2 Mar 2008 12:11:43 -0500 Subject: [PATCH] fix for warning in logs: Argument "\x{61}" isn't numeric in numeric eq (==) at /home/jmf/kohaclone/C4/Biblio.pm line 1008. Signed-off-by: Joshua Ferraro --- C4/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index e1e6026c9b..06b48839eb 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1011,7 +1011,7 @@ sub GetMarcSubjects { my $separator = C4::Context->preference("authoritysep") unless $counter==0; # ignore $9 my @this_link_loop = @link_loop; - push @subfields_loop, {code => $code, value => $value, link_loop => \@this_link_loop, separator => $separator} unless ($subject_subfield->[0] == 9 ); + push @subfields_loop, {code => $code, value => $value, link_loop => \@this_link_loop, separator => $separator} unless ($subject_subfield->[0] eq 9 ); $counter++; } -- 2.39.2