Bug 8386: Error in duplicate detection message for authorities

If you create a new authority record and the name already exists in
your database, you get a duplicate warning. This is good, but there is
a small error in the message:

Duplicate record suspected
Is this a duplicate of HASH(0x47fa670)?

This patch corrects the error message to show the title.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Error message correctly shows the name after applying this patch.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Jared Camins-Esakov 2012-07-09 08:00:25 -04:00 committed by Paul Poulain
parent c90b392605
commit 0e33a6fd06

View file

@ -612,7 +612,7 @@ if ($op eq "add") {
build_hidden_data;
$template->param(authid =>$authid,
duplicateauthid => $duplicateauthid,
duplicateauthvalue => $duplicateauthvalue,
duplicateauthvalue => $duplicateauthvalue->{authorized}->[0],
);
}
} elsif ($op eq "delete") {