fix for warning in logs: Argument "\x{61}" isn't numeric in numeric eq (==) at /home...
authorJoshua Ferraro <jmf@liblime.com>
Sun, 2 Mar 2008 17:11:43 +0000 (12:11 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 5 Mar 2008 06:02:11 +0000 (00:02 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Biblio.pm

index e1e6026..06b4883 100755 (executable)
@@ -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++;
         }