diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 61681ed2b34..17fb76b81f9 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -345,12 +345,14 @@ if ($socidp > 0) if ($resql) { $num = $db->num_rows($resql); - $obj = $db->fetch_object($resql); + $objsoc = $db->fetch_object($resql); print $objsoc->nb?($objsoc->nb):$langs->trans("NoOtherDeliveryAdress"); } - else { + else + { dolibarr_print_error($db); } + print ''; print '';