From 5ba745f6ff4803358499e6fadcfdef645d121438 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sun, 9 Sep 2012 14:49:37 -0400 Subject: [PATCH] Bug 8386: Error in duplicate detection message for authorities Content-Type: text/plain; charset="UTF-8" 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 a reoccurence the error message to show the title. --- authorities/authorities.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/authorities/authorities.pl b/authorities/authorities.pl index 5b6afbd..749b012 100755 --- a/authorities/authorities.pl +++ b/authorities/authorities.pl @@ -616,7 +616,7 @@ if ($op eq "add") { build_hidden_data; $template->param(authid =>$authid, duplicateauthid => $duplicateauthid, - duplicateauthvalue => $duplicateauthvalue->{authorized}->[0], + duplicateauthvalue => $duplicateauthvalue->{authorized}->[0]->{heading}, ); } } elsif ($op eq "delete") { -- 1.7.2.5