From edddcd4306f42048cd0cbe527f9104a9391d29c8 Mon Sep 17 00:00:00 2001 From: tipaul Date: Tue, 25 Jul 2006 12:33:04 +0000 Subject: [PATCH] add - to isbn only if there is an isbn ! --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 3ee2e00554..60a4062dac 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1541,7 +1541,7 @@ sub bibdata { chop $data->{'additionalauthors'}; chop $data->{'additionalauthors'}; # handle ISBN : reintroduce - if there are none - $data->{'isbn'} = DisplayISBN($data->{'isbn'}); + $data->{'isbn'} = DisplayISBN($data->{'isbn'}) if $data->{isbn}; $sth->finish; return($data); } # sub bibdata -- 2.39.5