summaryrefslogtreecommitdiff
path: root/src/frontend/fullfillment.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/fullfillment.php')
-rw-r--r--src/frontend/fullfillment.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/fullfillment.php b/src/frontend/fullfillment.php
index ced9a183..d7677aa7 100644
--- a/src/frontend/fullfillment.php
+++ b/src/frontend/fullfillment.php
@@ -37,12 +37,12 @@ if ($_GET['backend_test'] == 'no')
}
session_start();
-$receiver = $_SESSION['receiver'];
-if (! $receiver)
- echo "Please buy something before landing here!";
+
+if (! isset ($_SESSION['payment_ok']))
+ echo "Please land here after a successful payment!";
else
- echo "Thanks for donating to " . $receiver;
+ echo "Thanks for donating to " . $_SESSION['receiver'];
?>