CMXX - Categories and filters
This commit is contained in:
@@ -77,9 +77,7 @@ if (isset($_GET['rowID'])) {
|
||||
if (isset($_POST['submit']) && $create_allowed === 1) {
|
||||
|
||||
//GET ALL POST DATA
|
||||
$data = json_encode($_POST , JSON_UNESCAPED_UNICODE);
|
||||
//Secure data
|
||||
$payload = generate_payload($data);
|
||||
$payload = json_encode($_POST , JSON_UNESCAPED_UNICODE);
|
||||
//API call
|
||||
$responses = ioServer('/v2/products_versions', $payload);
|
||||
if ($responses === 'NOK'){
|
||||
|
||||
Reference in New Issue
Block a user