commit 46109793bf5f3d64b47939c7e3d1aa5592b2b08c
parent 4a1c5c89937b8b3716a5698ceeb40bafb1ab318d
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Mon, 16 Nov 2015 10:34:25 +0100
renaming old variable
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/frontend/generate_taler_contract.php b/src/frontend/generate_taler_contract.php
@@ -101,8 +101,8 @@ $json = json_encode (array ('amount' => array ('value' => $amount_value,
'products' => array (
array ('description' => $desc,
'quantity' => 1,
- 'price' => array ('value' => $value,
- 'fraction' => $fraction,
+ 'price' => array ('value' => $amount_value,
+ 'fraction' => $amount_fraction,
'currency' => $currency),
'product_id' => $p_id,
'taxes' => array (array ('teatax' => $teatax)),