Bug 10462: (follow-up) remove some undefined variable warning noise
authorGalen Charlton <gmc@esilibrary.com>
Wed, 24 Jul 2013 16:55:52 +0000 (16:55 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 24 Jul 2013 16:55:52 +0000 (16:55 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Breeding.pm

index 55069db..9527f0f 100644 (file)
@@ -443,7 +443,8 @@ sub _add_rowdata {
 }
 
 sub _isbn_replace {
-    my ($isbn)= @_;
+    my ($isbn) = @_;
+    return unless defined $isbn;
     $isbn =~ s/ |-|\.//g;
     $isbn =~ s/\|/ \| /g;
     $isbn =~ s/\(/ \(/g;