From 193beaa0654e0e246cd99cc1d2ae0b496d44313c Mon Sep 17 00:00:00 2001 From: innocente205 <57386850+innocente205@users.noreply.github.com> Date: Mon, 6 Jan 2020 15:24:45 +0700 Subject: [PATCH] Update BonusController.php --- app/Http/Controllers/BonusController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/BonusController.php b/app/Http/Controllers/BonusController.php index ed76fca063..d0d5f6e378 100644 --- a/app/Http/Controllers/BonusController.php +++ b/app/Http/Controllers/BonusController.php @@ -306,7 +306,7 @@ public function doItemExchange($userID, $itemID) $bon_transactions->itemID = $item['id']; $bon_transactions->name = $item['description']; - $bon_transactions->cost = $item['value']; + $bon_transactions->cost = $item['cost']; $bon_transactions->sender = $userID; $bon_transactions->comment = $item['description']; $bon_transactions->torrent_id = null;