From 4a0fd0b954d41329069c1bb19060c273967f91eb Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 5 Jan 2017 14:09:03 -0600 Subject: [PATCH] Fix error message --- src/tools/DBD/Recordtype.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/DBD/Recordtype.pm b/src/tools/DBD/Recordtype.pm index 8c8fabbae..e4b0d5481 100644 --- a/src/tools/DBD/Recordtype.pm +++ b/src/tools/DBD/Recordtype.pm @@ -106,7 +106,7 @@ sub equals { my ($new, $known) = @_; return 0 if ! $known->fields; return 1 if ! $new->fields; - dieContext("Duplicate definition of record type '$a->{NAME}'"); + dieContext("Duplicate definition of record type '$known->{NAME}'"); } sub toDeclaration {