PHP 8.2 More fixes. Deprecated dynamic member adds.
authorJoe <joe.hunt.consulting@gmail.com>
Mon, 7 Aug 2023 21:03:40 +0000 (23:03 +0200)
committerJoe <joe.hunt.consulting@gmail.com>
Mon, 7 Aug 2023 21:03:40 +0000 (23:03 +0200)
admin/includes/fa_patch.class.inc
sales/includes/cart_class.inc

index 0af328f54d914c04c99cb232c7c85cbf859d91a5..c2e0d4a497032e8f631c9a12ceccd158d30b868c 100644 (file)
@@ -25,6 +25,7 @@ class fa_patch {
 
        var $errors = array();
        var     $max_upgrade_time = 300;
+       var $companies = null;
 
        function __construct()
        {
index 4bef4cd102432d1a02329941bd0b00c8ffa4805a..adfe941a22b78c7f83a89051862175ab1482b7b9 100644 (file)
@@ -45,7 +45,7 @@ class Cart
        var $Branch;
        var $email;
 
-       var $deliver_to;
+       var $delivery_to;
        var $delivery_address;
        var $phone;
 
@@ -389,7 +389,7 @@ class Cart
        function set_delivery($shipper, $destination, $address, $freight_cost=null)
        {
                $this->ship_via = $shipper;
-               $this->deliver_to = $destination;
+               $this->delivery_to = $destination;
                $this->delivery_address = $address;
                if (isset($freight_cost))
                        $this->freight_cost = $freight_cost;