Skip to content

Commit

Permalink
Fixed undefined array key number in order history (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chupocabra authored Jun 27, 2024
1 parent 4ec5446 commit 69ef4e2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.7.8
4.7.9
3 changes: 2 additions & 1 deletion src/include/class-wc-retailcrm-history.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down
5 changes: 4 additions & 1 deletion src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/retailcrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @link https://wordpress.org/plugins/woo-retailcrm/
*
* @version 4.7.8
* @version 4.7.9
*
* @package RetailCRM
*/
Expand Down

0 comments on commit 69ef4e2

Please sign in to comment.