Fix: Bad detection of country

This commit is contained in:
Laurent Destailleur 2011-01-19 16:50:27 +00:00
parent 7360bc1b6f
commit 2d936e86c0

View File

@ -96,6 +96,7 @@ dol_fiche_head($head, 'rib', $langs->trans("ThirdParty"),0,'company');
$account = new CompanyBankAccount($db);
$account->fetch(0,$soc->id);
if (empty($account->socid)) $account->socid=$soc->id;