From 6e1869abcfdefcba1232ed20e1819a2b48f5a32b Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 5 Aug 2008 15:01:42 -0500 Subject: [PATCH] bug 2473: correct display of items.content Correct bug in output of overdue notices that has items.content displaying only the number of columns in each items.content structure (currently, 4). Patch inspired by patch submitted by Paul Poulain. [LL bug 31] Signed-off-by: Joshua Ferraro --- misc/cronjobs/overdue_notices.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index ced4e64e8c..64e372214e 100755 --- a/misc/cronjobs/overdue_notices.pl +++ b/misc/cronjobs/overdue_notices.pl @@ -363,7 +363,7 @@ END_SQL my $titles = ""; while ( my $item_info = $sth2->fetchrow_hashref() ) { my @item_info = map { $_ =~ /date$/ ? format_date( $item_info->{$_} ) : $item_info->{$_} || '' } @item_content_fields; - $titles .= join "\t", @item_info . "\n"; + $titles .= join("\t", @item_info) . "\n"; } $sth2->finish; -- 2.39.5