commit 8500ba4288f2d31ef6edcdc94f8099d3564c68ed
parent bcd9b38f79dd624b6cf11246229656080c3a46cc
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 18 Aug 2015 21:58:57 +0200
convert to integer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/frontend/fake_wire_transfer.php b/src/frontend/fake_wire_transfer.php
@@ -46,7 +46,7 @@ $kudos_amount = $_POST['kudos_amount'];
$json = json_encode (array ('reserve_pub' => $reserve_pk,
'execution_date' => "/" . time() . "/",
'wire' => array ('type' => 'test'),
- 'amount' => array ('value' => $kudos_amount,
+ 'amount' => array ('value' => intval($kudos_amount),
'fraction' => 0,
'currency' => 'KUDOS')));