From 6d117a501a28f8a457ab431415778c7cdf58827a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 2 Oct 2019 22:11:27 +0200 Subject: [PATCH] Update company.lib.php --- htdocs/core/lib/company.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index 14546227ff4..6d8e396c361 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -223,7 +223,7 @@ function societe_prepare_head(Societe $object) else { dol_print_error($db); } -$key + //if (! empty($conf->stripe->enabled) && $nbBankAccount > 0) $nbBankAccount = '...'; // No way to know exact number $head[$h][0] = DOL_URL_ROOT .'/societe/paymentmodes.php?socid='.$object->id; @@ -243,7 +243,7 @@ $key $sql.= " FROM ".MAIN_DB_PREFIX."societe_account as n"; $sql.= " WHERE fk_soc = ".$object->id.' AND fk_website > 0'; $resql=$db->query($sql); - if ($resql)$key + if ($resql) { $num = $db->num_rows($resql); $i = 0;