From e47bbd30a5e5ff445ebac73c378d21550a64b697 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Tue, 24 Feb 2004 14:55:39 +0000 Subject: [PATCH] Just in case. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@73 48953598-375a-da11-a14b-00016c27c3ee --- lib/Maypole/View/TT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Maypole/View/TT.pm b/lib/Maypole/View/TT.pm index 834fcaf..6149434 100644 --- a/lib/Maypole/View/TT.pm +++ b/lib/Maypole/View/TT.pm @@ -47,7 +47,7 @@ sub _args { if (@{$r->objects || []} > 1) { $args{$r->model_class->plural_moniker} = $r->objects; } else { - ($args{$r->model_class->moniker}) = @{$r->objects}; + ($args{$r->model_class->moniker}) = @{$r->objects ||[]}; } } -- 2.39.2