From a428b49167d57be717839ac7c018ef6588143593 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Thu, 29 Nov 2007 17:43:10 -0600 Subject: [PATCH] Letters.pm: Minor change. Unsure if this is "the right" move, but pretty sure the line does not make sense as is. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Letters.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 912e3ad39e..da0930c22c 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -192,8 +192,7 @@ sub getalert { while ( my $line = $sth->fetchrow_hashref ) { push @result, $line; } - return \@result if $#result >= 0; # return only if there is one result. - return; + return \@result; } =head2 findrelatedto -- 2.39.5