From 3cc4f20a970ec3fe8021045a6a0b34712fa0e11d Mon Sep 17 00:00:00 2001 From: grandeljay Date: Sat, 28 Jan 2023 15:00:52 +0100 Subject: [PATCH] Fix undefined variable --- src/api/wishes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/wishes.php b/src/api/wishes.php index a7801ab3..5257fb93 100644 --- a/src/api/wishes.php +++ b/src/api/wishes.php @@ -182,7 +182,7 @@ switch ($_SERVER['REQUEST_METHOD']) { :wish_price );', array( - 'wish_id' => $wish_id, + 'wish_id' => $wish->id, 'wish_price' => $wish_price, ) );