fix translation

This commit is contained in:
O K
2025-06-08 15:40:24 +03:00
parent a35c8aa098
commit d258c6f5bf
11 changed files with 375 additions and 227 deletions

View File

@@ -77,8 +77,6 @@ class HutkoReturnModuleFrontController extends ModuleFrontController
// Validate the decoded JSON:
// 1. Check if json_decode returned an array.
// 2. Check if all expected keys ('id_cart', 'id_module', 'id_order', 'key') exist in the array.
// 3. Check if the 'key' from the decoded data matches the secure key of the currently logged-in customer.
// This is a critical security step to prevent unauthorized access to order details.
if (
is_array($decodedPV)
&& isset($decodedPV['id_cart'])