Fixed typo in location variable.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 4 Mar 2012 15:52:09 +0000 (16:52 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 4 Mar 2012 15:52:09 +0000 (16:52 +0100)
purchasing/includes/db/grn_db.inc

index 00e088e0fbc489aa884ac5216080e0fa79c139b5..da4dedffb5977536a25a11fb996c59cdbae0fc15 100644 (file)
@@ -373,7 +373,7 @@ function read_grn($grn_batch, &$order)
 
                $order->trans_type = ST_SUPPRECEIVE;
                $order->orig_order_date = sql2date($row["delivery_date"]);
-               $order->location = $row["loc_code"];
+               $order->Location = $row["loc_code"];
                $order->reference = $row["reference"];
 
                read_grn_items_to_order($grn_batch, $order);