From: Joe Hunt Date: Fri, 18 Jul 2008 06:18:58 +0000 (+0000) Subject: Parse error fixed [0000021] in customer_credit_invoice.php X-Git-Tag: v2.4.2~19^2~1911 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=028ed2f46134efd36d9ebd7f4d4768edd2ebf03f;p=fa-stable.git Parse error fixed [0000021] in customer_credit_invoice.php --- 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'); }