From 2d936e86c041d32ac8f0db781af974b7ceb9de86 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 19 Jan 2011 16:50:27 +0000 Subject: [PATCH] Fix: Bad detection of country --- htdocs/societe/rib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index 0017a7486cf..8b8f5c50292 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -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;