diff --git a/core/components/minishop2/model/minishop2/minishop2.class.php b/core/components/minishop2/model/minishop2/minishop2.class.php index 66c938b5..6154502b 100644 --- a/core/components/minishop2/model/minishop2/minishop2.class.php +++ b/core/components/minishop2/model/minishop2/minishop2.class.php @@ -703,6 +703,8 @@ public function getCustomerId() ]); if (!$response['success']) { return $response['message']; + } else { + $customer = $response['data']['customer'] ?? null; } if (!$customer) {