2
0
forked from Wavyzz/dolibarr

Fix label of country

Fix div empty
This commit is contained in:
Laurent Destailleur
2019-12-09 09:16:59 +01:00
parent a6ca56a7e1
commit eb0d20b77e
2 changed files with 15 additions and 7 deletions

View File

@@ -1582,9 +1582,12 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi
if (method_exists($object, 'getBannerAddress') && $object->element != 'product' && $object->element != 'bookmark' && $object->element != 'ecm_directories' && $object->element != 'ecm_files')
{
$morehtmlref .= '<div class="refidno">';
$morehtmlref .= $object->getBannerAddress('refaddress', $object);
$morehtmlref .= '</div>';
$moreaddress = $object->getBannerAddress('refaddress', $object);
if ($moreaddress) {
$morehtmlref .= '<div class="refidno">';
$morehtmlref .= $moreaddress;
$morehtmlref .= '</div>';
}
}
if (!empty($conf->global->MAIN_SHOW_TECHNICAL_ID) && in_array($object->element, array('societe', 'contact', 'member', 'product')))
{