From 3b7e85da188781406ba6ff5aeeb12d5e6368237d Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 13 Nov 2011 13:23:03 +0100 Subject: [PATCH] Fixed a selection bug in Report Credit Notes. Caused all CN to print. --- reporting/rep113.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reporting/rep113.php b/reporting/rep113.php index 916032b..bca06d1 100644 --- a/reporting/rep113.php +++ b/reporting/rep113.php @@ -49,8 +49,8 @@ function print_credits() $fno = explode("-", $from); $tno = explode("-", $to); - $from = min($fno[0], $fto[0]); - $to = max($fno[0], $fto[0]); + $from = min($fno[0], $tno[0]); + $to = max($fno[0], $tno[0]); $cols = array(4, 60, 225, 300, 325, 385, 450, 515); -- 2.30.2