Refactor
This commit is contained in:
parent
070e7eebc0
commit
f613b11fe7
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,8 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
|||
* Product
|
||||
*/
|
||||
$wish_price = empty($_POST['wish_price']) || 'false' === $wish_is_purchasable
|
||||
? 'NULL'
|
||||
: Sanitiser::getNumber($_POST['wish_price']);
|
||||
? 'NULL'
|
||||
: Sanitiser::getNumber($_POST['wish_price']);
|
||||
|
||||
$database
|
||||
->query(
|
||||
|
|
Loading…
Reference in a new issue