From: Joe Date: Mon, 7 Aug 2023 21:03:40 +0000 (+0200) Subject: PHP 8.2 More fixes. Deprecated dynamic member adds. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=3aada292902adb788119da40db39f437fcfc7654 PHP 8.2 More fixes. Deprecated dynamic member adds. --- diff --git a/admin/includes/fa_patch.class.inc b/admin/includes/fa_patch.class.inc index 0af328f5..c2e0d4a4 100644 --- a/admin/includes/fa_patch.class.inc +++ b/admin/includes/fa_patch.class.inc @@ -25,6 +25,7 @@ class fa_patch { var $errors = array(); var $max_upgrade_time = 300; + var $companies = null; function __construct() { diff --git a/sales/includes/cart_class.inc b/sales/includes/cart_class.inc index 4bef4cd1..adfe941a 100644 --- a/sales/includes/cart_class.inc +++ b/sales/includes/cart_class.inc @@ -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;