From 5ff5c2db4bb45d79a2f07a9a37fe6f9330ac3797 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 916032b8..bca06d1b 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