Check isset for order number
This commit is contained in:
parent
4ec5446a95
commit
0939e55cc2
1 changed files with 2 additions and 1 deletions
|
@ -276,7 +276,8 @@ if (!class_exists('WC_Retailcrm_History')) :
|
|||
$orderEditData = [];
|
||||
|
||||
if (
|
||||
$order['number'] != $wcOrderNumber
|
||||
isset($order['number'])
|
||||
&& $order['number'] != $wcOrderNumber
|
||||
&& isset($this->retailcrmSettings['update_number'])
|
||||
&& $this->retailcrmSettings['update_number'] == WC_Retailcrm_Base::YES
|
||||
) {
|
||||
|
|
Loading…
Add table
Reference in a new issue