Update card.php

This commit is contained in:
ptibogxiv 2019-01-17 18:58:08 +01:00 committed by GitHub
parent 2f36354c8d
commit 3deec2c8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,13 +313,13 @@ if ($rowid && $action != 'edit')
print '<tr>';
print '<td class="titlefield">'.$langs->trans("Type").'</td>';
print '<td class="valeur">';
if ( ! empty($object->fk_type) ) {
$adht->fetch($object->fk_type);
if ( ! empty($object->fk_type) ) {
$adht->fetch($object->fk_type);
print $adht->getNomUrl(1);
} else {
print $langs->trans("NoType");
print $langs->trans("NoType");
}
print '</td></tr>';
print '</td></tr>';
// Member
$adh->ref=$adh->getFullName($langs);