From 2e2b6af98ea80217d4602e01406e25a43e3c219e Mon Sep 17 00:00:00 2001 From: daraelmin Date: Fri, 7 May 2021 00:23:46 +0200 Subject: [PATCH] Update new.php --- htdocs/public/members/new.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index 9bf8cfdb18e..1b4fc6283b1 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -708,7 +708,7 @@ if (!empty($conf->global->MEMBER_NEWFORM_AMOUNT) || !empty($conf->global->MEMBER // $conf->global->MEMBER_NEWFORM_SHOWAMOUNT is an amount // Set amount for the subscription - $amountbytype = adht->amountByType(1); + $amountbytype = $adht->amountByType(1); $amount = !empty($amountbytype[GETPOST('typeid',int)]) ? $amountbytype[GETPOST('typeid',int)] : (isset ($amount) ? $amount : 0); if (!empty($conf->global->MEMBER_NEWFORM_AMOUNT)) {