From 028ed2f46134efd36d9ebd7f4d4768edd2ebf03f Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 18 Jul 2008 06:18:58 +0000 Subject: [PATCH] Parse error fixed [0000021] in customer_credit_invoice.php --- CHANGELOG.txt | 4 ++++ sales/customer_credit_invoice.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index ad1d73cc..6b339fba 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +18-Jul-2008 Joe Hunt +# Parse error fixed [0000021] in customer_credit_invoice.php +$ /sales/customer_credit_invoice.php + 15-Jul-2008 Janusz Dobrowolski # Fixed bug [0000018] - unwanted freight cost reset on page update. $ /sales/customer_delivery.php diff --git a/sales/customer_credit_invoice.php b/sales/customer_credit_invoice.php index 16147a82..8ccbb6e9 100644 --- a/sales/customer_credit_invoice.php +++ b/sales/customer_credit_invoice.php @@ -152,7 +152,7 @@ function check_quantities() $ok =1; foreach ($_SESSION['Items']->line_items as $line_no=>$itm) { if (isset($_POST['Line'.$line_no])) { - if (check_num('Line'.$line_no, 0, $itm->quantity))) { + if (check_num('Line'.$line_no, 0, $itm->quantity)) { $_SESSION['Items']->line_items[$line_no]->qty_dispatched = input_num('Line'.$line_no); } @@ -367,7 +367,7 @@ if (isset($_POST['_CreditType_update'])) } //----------------------------------------------------------------------------- -if (get_post('Update')) +if (get_post('Update')) { $Ajax->activate('credit_items'); } -- 2.30.2