From fd52d0b477242bb03256e2c7c135e34b7a3cf5e9 Mon Sep 17 00:00:00 2001 From: tipaul Date: Tue, 8 Mar 2005 12:46:31 +0000 Subject: [PATCH] adding button to duplicate the biblio --- acqui.simple/addbiblio.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/acqui.simple/addbiblio.pl b/acqui.simple/addbiblio.pl index ebdb6db4a2..5859472ea4 100755 --- a/acqui.simple/addbiblio.pl +++ b/acqui.simple/addbiblio.pl @@ -485,6 +485,14 @@ if ($op eq "addbiblio") { #------------------------------------------------------------------------------------------------------------------------------ } else { #------------------------------------------------------------------------------------------------------------------------------ + # If we're in a duplication case, we have to set to "" the bibid and biblionumber + # as we'll save the biblio as a new one. + if ($op eq "duplicate") + { + $bibid = ""; + $oldbiblionumber= ""; + } + build_tabs ($template, $record, $dbh,$encoding); build_hidden_data; $template->param(