From b521658ce3cfeb6c0d5d2ad99d15afe747a02ae9 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Fri, 18 Jan 2019 23:04:37 +0100 Subject: [PATCH] Online transfer: Do no longer force existence of local BIC code The BIC code for SEPA transfer used to be mandantory, but turned optional more recently and the local IBAN code is sufficient. Gnucash still checked the local BIC code existence and forced the user to get it from somewhere. This is no longer needed - local IBAN is enough. --- gnucash/import-export/aqb/dialog-ab-trans.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnucash/import-export/aqb/dialog-ab-trans.c b/gnucash/import-export/aqb/dialog-ab-trans.c index 4f6bf421fe..07c97ba98a 100644 --- a/gnucash/import-export/aqb/dialog-ab-trans.c +++ b/gnucash/import-export/aqb/dialog-ab-trans.c @@ -598,10 +598,8 @@ gnc_ab_trans_dialog_verify_values(GncABTransDialog *td) // Verify that we have a local IBAN and BIC if (gnc_ab_trans_isSEPA(td->trans_type)) { - const char* localBIC = AB_Transaction_GetLocalBic(td->ab_trans); const char* localIBAN = AB_Transaction_GetLocalIban(td->ab_trans); - if (!localBIC || !localIBAN - || (strlen(localBIC) == 0) || (strlen(localIBAN) == 0)) + if (!localIBAN || (strlen(localIBAN) == 0)) { const char* localBankCode = AB_Transaction_GetLocalBankCode(td->ab_trans); const char* localAccountCode = AB_Transaction_GetLocalAccountNumber(td->ab_trans);