From 546bc1d4be8390a86e92ad15cbae63d05e48d8a5 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Wed, 23 Sep 2009 21:20:11 +0000 Subject: [PATCH] Fixed blank page when all transaction types were selected. --- reporting/rep702.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reporting/rep702.php b/reporting/rep702.php index c47fb2eb..10bcfef7 100644 --- a/reporting/rep702.php +++ b/reporting/rep702.php @@ -55,7 +55,8 @@ function print_list_of_journal_entries() $params = array( 0 => $comments, 1 => array('text' => _('Period'), 'from' => $from,'to' => $to), - 2 => array('text' => _('Type'), 'from' => $systypes_array[$systype], + 2 => array('text' => _('Type'), 'from' => + $systype == -1 ? _('All') : $systypes_array[$systype], 'to' => '')); $rep = new FrontReport(_('List of Journal Entries'), "JournalEntries", user_pagesize()); -- 2.30.2