[guadec-web] Fix some bugs in coming back
- From: Patrick Uiterwijk <puiterwijk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Fix some bugs in coming back
- Date: Mon, 21 Jul 2014 23:51:50 +0000 (UTC)
commit 00a4c6bbe4021d88cbe723d563e7b9dcf449f6fa
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date: Mon Jul 21 19:51:44 2014 -0400
Fix some bugs in coming back
guadec/confirm-payment.php | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/guadec/confirm-payment.php b/guadec/confirm-payment.php
index b5aac5e..fa2b86c 100644
--- a/guadec/confirm-payment.php
+++ b/guadec/confirm-payment.php
@@ -106,6 +106,7 @@ if (!empty($_POST) || isset($_GET['payfor'])) {
$gender = $results['gender'];
$country = $results['country'];
$payment = $results['payment'];
+ $application_submitted = true;
if($payment != 'Pending')
{
@@ -211,10 +212,10 @@ if (!empty($_POST) || isset($_GET['payfor'])) {
'payment' => $payment,
'ispublic' => $public));
$regid = $wpdb->insert_id;
- $mailContent .= $registerInfo;
- $subject = "GUADEC 2014 Registration";
}
}
+ $mailContent .= $registerInfo;
+ $subject = "GUADEC 2014 Registration";
/* This variable not be changed: goes to a restricted field to Paypal API */
$registerInfo =
"regid=" . $regid . "&" .
@@ -322,7 +323,7 @@ if (!empty($_POST) || isset($_GET['payfor'])) {
<br>
<form action="https://www.guadec.org/confirm-payment" method="post">
- <input type="hidden" name="regid" value="<?php print($wpdb->insert_id); ?>">
+ <input type="hidden" name="regid" value="<?php print($regid); ?>">
<input type="hidden" name="email" value="<?php print($email); ?>">
<input type="submit" value="Pay at event">
</form>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]