summaryrefslogtreecommitdiff
path: root/php/fulfillment.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/fulfillment.php')
-rw-r--r--php/fulfillment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php/fulfillment.php b/php/fulfillment.php
index 048150d..a9c27bf 100644
--- a/php/fulfillment.php
+++ b/php/fulfillment.php
@@ -23,7 +23,7 @@
$rec_proposal = make_contract(intval($_GET['transaction_id']), $now);
$response = post_to_backend("/contract", $rec_proposal);
- http_response_code($response["code"]);
+ http_response_code($response["status_code"]);
if (200 != $response["status_code"]) {
echo build_error($response,
"Failed to reconstruct the contract",