diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cc7368b..33e014f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2024-06-27 4.7.9 +* Fixed undefined array key number in order history + ## 2024-06-26 4.7.8 * Added passing link field for abandoned baskets diff --git a/VERSION b/VERSION index b8de1561..3c31ca93 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.7.8 +4.7.9 diff --git a/src/include/class-wc-retailcrm-history.php b/src/include/class-wc-retailcrm-history.php index 6b4c14ce..f665ed6e 100644 --- a/src/include/class-wc-retailcrm-history.php +++ b/src/include/class-wc-retailcrm-history.php @@ -276,7 +276,8 @@ protected function ordersHistory() $orderEditData = []; if ( - $order['number'] != $wcOrderNumber + isset($order['number']) + && $order['number'] != $wcOrderNumber && isset($this->retailcrmSettings['update_number']) && $this->retailcrmSettings['update_number'] == WC_Retailcrm_Base::YES ) { diff --git a/src/readme.txt b/src/readme.txt index 95877345..3fe36386 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -5,7 +5,7 @@ Tags: Интеграция, Simla.com, simla Requires PHP: 7.0 Requires at least: 5.3 Tested up to: 6.5 -Stable tag: 4.7.8 +Stable tag: 4.7.9 License: GPLv1 or later License URI: http://www.gnu.org/licenses/gpl-1.0.html @@ -82,6 +82,9 @@ Asegúrate de tener una clave API específica para cada tienda. Las siguientes i == Changelog == += 4.7.9 = +* Fixed undefined array key number in order history + = 4.7.8 = * Added passing link field for abandoned baskets diff --git a/src/retailcrm.php b/src/retailcrm.php index 54708374..cfbc301b 100644 --- a/src/retailcrm.php +++ b/src/retailcrm.php @@ -5,7 +5,7 @@ * Description: Integration plugin for WooCommerce & Simla.com * Author: RetailDriver LLC * Author URI: http://retailcrm.pro/ - * Version: 4.7.8 + * Version: 4.7.9 * Tested up to: 6.5 * Requires Plugins: woocommerce * WC requires at least: 5.4 diff --git a/src/uninstall.php b/src/uninstall.php index eb3b1727..9188febb 100644 --- a/src/uninstall.php +++ b/src/uninstall.php @@ -16,7 +16,7 @@ * * @link https://wordpress.org/plugins/woo-retailcrm/ * - * @version 4.7.8 + * @version 4.7.9 * * @package RetailCRM */