From f2c07bb5291e9a69c72b8fef3c06fb389c5de97e Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 8 Sep 2003 08:42:40 +0000 Subject: [PATCH] bugfix : biblios without isbn where not added into the breeding farm --- C4/Breeding.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index 7fb2dc475d..b2d83c72c8 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -100,7 +100,7 @@ sub ImportBreeding { if ($oldbiblio->{isbn}) { $searchbreeding->execute($oldbiblio->{isbn}); ($breedingid) = $searchbreeding->fetchrow; - } else { + } elsif ($oldbiblio->{issn}){ $searchbreeding->execute($oldbiblio->{issn}); ($breedingid) = $searchbreeding->fetchrow; } -- 2.39.5