Fixed blank page when all transaction types were selected.
[fa-stable.git] / reporting / rep702.php
index c47fb2ebe10031b6fc0f5119b3df79920df21e3b..10bcfef7fb8772fdc446113d0de92e4b5a8ca5ab 100644 (file)
@@ -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());