Skip to content
Snippets Groups Projects
Commit 8ddaff18 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Bad detection of country

parent 16eac586
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,8 @@ $head=societe_prepare_head2($soc);
dol_fiche_head($head, 'rib', $langs->trans("ThirdParty"),0,'company');
$account = new CompanyBankAccount($db);
$account->socid=$soc->id;
$account->fetch(0,$soc->id);
if (empty($account->socid)) $account->socid=$soc->id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment