From 2fd4706812d882a8799388ee96aa05c45c01db84 Mon Sep 17 00:00:00 2001
From: Maryse Simard <maryse.simard@inlibro.com>
Date: Wed, 13 Feb 2019 17:09:17 -0500
Subject: [PATCH] Bug 12446: (follow-up) Show all guarantees on the guarantor
 detail page

Only one guarantee is shown on the guarantor detail page. The
guarantees list should be passed to the template as a ref.

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
---
 members/moremember.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/members/moremember.pl b/members/moremember.pl
index e75373c..193f887 100755
--- a/members/moremember.pl
+++ b/members/moremember.pl
@@ -129,7 +129,7 @@ if ( $count ) {
         $totalmount += $guarantee->account->balance;
 
     }
-    $template->param( guarantees => @guarantees);
+    $template->param( guarantees => \@guarantees);
     $template->param( amounttot => sprintf("%.2f",$totalmount));
 }
 
-- 
2.7.4