From 373d926f352c8fdfd62279cfc1b41b7c17c88522 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 23 Dec 2004 14:58:27 +0000 Subject: [PATCH] patch for display_line() macro to use CDBI->accessor_name in case the column accessors have been renamed (Dave Howorth) git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@323 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/macros | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/factory/macros b/templates/factory/macros index afa2a74..8743afc 100644 --- a/templates/factory/macros +++ b/templates/factory/macros @@ -62,7 +62,8 @@ for some. ELSIF col == item.stringify_column; maybe_link_view(item); ELSE; - maybe_link_view(item.$col); + accessor = item.accessor_name(col); + maybe_link_view(item.$accessor); END; ""; END; -- 2.39.2