commit 568d83e1c6e9bb17bebeb681eec198dfc4eb546c
parent b798cbda457c687d43fb4424d897c9707e8cc039
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Tue, 16 Feb 2016 21:57:18 +0100
minor
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/frontend_blog/essay_contract.php b/src/frontend_blog/essay_contract.php
@@ -41,7 +41,7 @@ $transaction_id = rand(0, 1001);
// Include all information so we can
// restore the contract without storing it
$fulfillment_url = url_rel("essay_fulfillment.php")
- . '&uuid=${H_contract}'; //<= super weird: that should be a '?', not '&', but works
+ . '&uuid=${H_contract}';
//file_put_contents("/tmp/debg1", $fulfillment_url);
$contract_json = generate_contract($amount_value,
$amount_fraction,
diff --git a/src/frontend_blog/essay_pay.php b/src/frontend_blog/essay_pay.php
@@ -25,8 +25,6 @@ include("../frontend_lib/merchants.php");
include("../frontend_lib/util.php");
include("./blog_lib.php");
-session_start();
-
$hc = get($_GET["uuid"]);
if (empty($hc))
{