summaryrefslogtreecommitdiff
path: root/doc/manual.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual.texi')
-rw-r--r--doc/manual.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.texi b/doc/manual.texi
index 546db9c4..4c5c8ad1 100644
--- a/doc/manual.texi
+++ b/doc/manual.texi
@@ -935,7 +935,7 @@ transaction_id=<TRANSACTION_ID>&timestamp=<CONTRACTTIMESTAMP>
# FIXME: this can't be right, you want to call "json_deocde", not
# return it as a literal string in the header! (i.e. insert '. before json_decode and remove ' at the end)?
# All this code should be tested!
- header ('X-Taler-Contract-Hash: json_decode($response)["H_contract"]');
+ header ('X-Taler-Contract-Hash: ' . json_decode($response)["H_contract"]);
header ('X-Taler-Offer-Url: /donate');
header ('X-Taler-Pay-Url: /pay'); ?>
</body>