Parse error fixed [0000021] in customer_credit_invoice.php
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 18 Jul 2008 06:18:58 +0000 (06:18 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 18 Jul 2008 06:18:58 +0000 (06:18 +0000)
CHANGELOG.txt
sales/customer_credit_invoice.php

index ad1d73cca228b9e23ce5a3c66c2d99f1ed4057c3..6b339fbac8e30fec96d67961c250c50449eb98d9 100644 (file)
@@ -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
index 16147a82ad42a6d2eda9039fcad56f13360ec348..8ccbb6e9cfcf217faab43851b7b535f91d20ada3 100644 (file)
@@ -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');
 }