[git] gnupg-doc - branch, preview, updated. 51771003222510c9cb98351141d8d5c9aeda8bf0
by Werner Koch
cvs at cvs.gnupg.org
Wed May 24 12:38:48 CEST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".
The branch, preview has been updated
via 51771003222510c9cb98351141d8d5c9aeda8bf0 (commit)
from 311af917223f088e1549d12757f0acee5270f715 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 51771003222510c9cb98351141d8d5c9aeda8bf0
Author: Werner Koch <wk at gnupg.org>
Date: Wed May 24 12:35:17 2017 +0200
cgi: Handle currency correctly
GnuPG-bug-id: T3177
diff --git a/cgi/procdonate.cgi b/cgi/procdonate.cgi
index 21e4df1..375fbbc 100755
--- a/cgi/procdonate.cgi
+++ b/cgi/procdonate.cgi
@@ -503,11 +503,10 @@ sub check_donation ()
$amount = $q->param("amount");
if ($amount eq 'other') {
+ # backward compatibility
$amount = $q->param("amountother");
- $currency = $q->param("currency");
- } else {
- $currency = 'EUR';
}
+ $currency = $q->param("currency");
$recur = $q->param("recur");
$name = $q->param("name");
-----------------------------------------------------------------------
Summary of changes:
cgi/procdonate.cgi | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive
--
The GnuPG website and other docs
http://git.gnupg.org
More information about the Gnupg-commits
mailing list