From: Joe Hunt Date: Sun, 13 Nov 2011 12:23:03 +0000 (+0100) Subject: Fixed a selection bug in Report Credit Notes. Caused all CN to print. X-Git-Tag: 2.3-final~529 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=5ff5c2db4bb45d79a2f07a9a37fe6f9330ac3797;p=fa-stable.git Fixed a selection bug in Report Credit Notes. Caused all CN to print. --- 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);