Fix empty failure response
This commit is contained in:
parent
2ddb1400da
commit
71a35338d6
2 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||||
WHERE `id` = ' . $_DELETE['wish_id'] . '
|
WHERE `id` = ' . $_DELETE['wish_id'] . '
|
||||||
;');
|
;');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$response['success'] = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -110,6 +110,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||||
WHERE `id` = ' . $_DELETE['wishlistID'] . '
|
WHERE `id` = ' . $_DELETE['wishlistID'] . '
|
||||||
;');
|
;');
|
||||||
|
|
||||||
|
$response['success'] = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue