From 8bf1caa87551c8756702eead96b1d0c7d4628bfe Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Mon, 9 Jul 2012 08:00:25 -0400 Subject: [PATCH] [SIGNED-OFF] 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 Error message correctly shows the name after applying this patch. --- authorities/authorities.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authorities/authorities.pl b/authorities/authorities.pl index 23653f6..5774e6f 100755 --- a/authorities/authorities.pl +++ b/authorities/authorities.pl @@ -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") { -- 1.7.9.5