[guadec-web] registration: Generate phony phone numbers
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] registration: Generate phony phone numbers
- Date: Mon, 8 Jul 2013 14:24:43 +0000 (UTC)
commit 2f261ad4bef23d200dfd16a5651c9ad2137ca193
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Jul 8 16:16:34 2013 +0200
registration: Generate phony phone numbers
Apparently gopay.cz restricts payments for the same phone nr. to a
maximum amount per day. Since we're not collecting people's phone
nrs. we'll just send them non-existing (starting with 606) but valid
numbers.
wordcamp-base/template-registration.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/wordcamp-base/template-registration.php b/wordcamp-base/template-registration.php
index df23128..ba77b56 100644
--- a/wordcamp-base/template-registration.php
+++ b/wordcamp-base/template-registration.php
@@ -33,7 +33,7 @@ function do_payment($reg)
'Postal code',
'Country code',
$current_user->user_email,
- 'Phone nr.',
+ '606' . (string) mt_rand(100000, 999999),
null,
null,
null,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]