[guadec-web] Store if the person wants to appear in the public list



commit 00ab430fb0c235ec96055d0d59dac449d8e9b0d3
Author: Pascal Terjan <pterjan gmail com>
Date:   Mon Jul 14 23:46:40 2014 +0000

    Store if the person wants to appear in the public list

 guadec/confirm-payment.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/guadec/confirm-payment.php b/guadec/confirm-payment.php
index eef0f47..15e987b 100644
--- a/guadec/confirm-payment.php
+++ b/guadec/confirm-payment.php
@@ -52,6 +52,7 @@ if (!empty($_POST)) {
        $entry = (isset($_POST['entry-fee']))?(trim(stripslashes($_POST['entry-fee']))):'0';
 
        $bday = (isset($_POST['bday']))?($_POST['bday']):'NA';
+       $public = isset($_POST['public'])?'YES':'NO';
 
        $obfuscated_email = str_replace("@", " AT ", $email);
        //check if the email already registered
@@ -141,6 +142,7 @@ if (!empty($_POST)) {
                                 'gender' => $gender,
                                 'country' => $country,
                                 'payment' => $payment,
+                                'public' => $public,
                                 'bday' => $bday));
        }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]