fix translation
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user