From 09ffa3561e3062899028774d2e0453fdfc1aafdc Mon Sep 17 00:00:00 2001
From: Tomas Cohen Arazi <tomascohen@gmail.com>
Date: Mon, 3 Sep 2012 15:01:38 -0300
Subject: [PATCH] Bug 8520 - Authorities summary incorrect on posible
 duplicate notice
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We didn't notice this one with jcamins when we fixed this bug.

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
---
 authorities/authorities.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/authorities/authorities.pl b/authorities/authorities.pl
index 5b6afbd..f6263d9 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.10.4