From 75842c7d620938274c728417188b3939a136eedb Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 24 Jul 2013 16:55:52 +0000 Subject: [PATCH] Bug 10462: (follow-up) remove some undefined variable warning noise Signed-off-by: Galen Charlton --- C4/Breeding.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index 55069db317..9527f0fa87 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -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; -- 2.39.5