Fix: restore broken feature

This commit is contained in:
Regis Houssin 2018-01-10 12:38:27 +01:00
parent bd1acca2cd
commit 4cc0e889c1

View File

@ -2497,6 +2497,21 @@ else
$somethingshown = $formactions->showactions($object, '', $socid, 1, '', $MAXEVENT, '', $morehtmlright); // Show all action for thirdparty $somethingshown = $formactions->showactions($object, '', $socid, 1, '', $MAXEVENT, '', $morehtmlright); // Show all action for thirdparty
print '</div></div></div>'; print '</div></div></div>';
if (! empty($conf->global->MAIN_DISABLE_CONTACTS_TAB))
{
// Contacts list
if (empty($conf->global->SOCIETE_DISABLE_CONTACTS))
{
$result=show_contacts($conf,$langs,$db,$object,$_SERVER["PHP_SELF"].'?socid='.$object->id);
}
// Addresses list
if (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT))
{
$result=show_addresses($conf,$langs,$db,$object,$_SERVER["PHP_SELF"].'?socid='.$object->id);
}
}
} }
// Presend form // Presend form