[Koha-patches] [PATCH] [followup] (bug #4051) fix default values
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Wed Feb 10 14:55:17 CET 2010
this set default empty values when nothing is set.
---
circ/overdue.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/circ/overdue.pl b/circ/overdue.pl
index f0dd28e..a5338d9 100755
--- a/circ/overdue.pl
+++ b/circ/overdue.pl
@@ -93,8 +93,8 @@ $template->param(
showall => $showall,
csv_param_string => $input->query_string(),
DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(),
- dateduefrom => $input->param( 'dateduefrom' ),
- datedueto => $input->param( 'datedueto' ),
+ dateduefrom => $input->param( 'dateduefrom' ) || '',
+ datedueto => $input->param( 'datedueto' ) || '',
);
my @sort_roots = qw(borrower title barcode date_due);
--
1.6.3.3
More information about the Koha-patches
mailing list