From 78a26d61ad80e45599f8fea70dd8afc31b503fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Tue, 14 Aug 2012 09:57:03 +0200 Subject: [PATCH] Fixed bug #485 Merged patch from J. Fernando Lagrange (lowmemory) https://doliforge.org/tracker/?func=detail&aid=485&atid=246&group_id=144 --- htdocs/public/members/new.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index a20fb716f6e..561a06db79b 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -3,6 +3,7 @@ * Copyright (C) 2001-2002 Jean-Louis Bergamo * Copyright (C) 2006-2011 Laurent Destailleur * Copyright (C) 2012 Regis Houssin + * Copyright (C) 2012 J. Fernando Lagrange * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -537,6 +538,10 @@ if (! empty($conf->global->MEMBER_NEWFORM_AMOUNT) { // $conf->global->MEMBER_NEWFORM_SHOWAMOUNT is an amount $amount=0; + if (! empty($conf->global->MEMBER_NEWFORM_AMOUNT)) { + $amount=$conf->global->MEMBER_NEWFORM_AMOUNT; + } + if (! empty($conf->global->MEMBER_NEWFORM_PAYONLINE)) { $amount=GETPOST('amount')?GETPOST('amount'):$conf->global->MEMBER_NEWFORM_AMOUNT;