From 3eabeb2380c5dcd3a8eafa3707030ea3cb686993 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 10 Feb 2022 10:18:06 +0100 Subject: [PATCH] FIX broken feature, wrong div name again --- htdocs/compta/bank/card.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 812f396abd0..73edd31755d 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -349,16 +349,16 @@ if ($action == 'create') { // Ref print ''.$langs->trans("Ref").''; - print 'ref).'" maxlength="12" autofocus>'; + print 'ref).'" maxlength="12" autofocus>'; // Label print ''.$langs->trans("LabelBankCashAccount").''; - print ''; + print ''; // Type print ''.$langs->trans("AccountType").''; print ''; - $formbank->selectTypeOfBankAccount(GETPOSTISSET("type") ? GETPOST("type", 'alpha') : Account::TYPE_CURRENT, "type"); + $formbank->selectTypeOfBankAccount(GETPOSTISSET("type") ? GETPOST('type', 'alpha') : Account::TYPE_CURRENT, 'type'); print ''; // Currency @@ -376,7 +376,7 @@ if ($action == 'create') { // Status print ''.$langs->trans("Status").''; print ''; - print $form->selectarray("clos", $object->status, (GETPOST("clos", 'int') != '' ?GETPOST("clos", 'int') : $object->clos), 0, 0, 0, '', 0, 0, 0, '', 'maxwidth150onsmartphone'); + print $form->selectarray("clos", $object->status, (GETPOST('clos', 'int') != '' ? GETPOST('clos', 'int') : $object->clos), 0, 0, 0, '', 0, 0, 0, '', 'maxwidth150onsmartphone'); print ''; // Country @@ -820,7 +820,7 @@ if ($action == 'create') { if ($conf->use_javascript_ajax) { print "\n".'