|
@@ -2434,7 +2434,7 @@ if ($id > 0) {
|
|
|
if (!empty($object->fk_element) && !empty($object->elementtype) && !in_array($object->elementtype, array('societe', 'contact', 'project'))) {
|
|
if (!empty($object->fk_element) && !empty($object->elementtype) && !in_array($object->elementtype, array('societe', 'contact', 'project'))) {
|
|
|
include_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php';
|
|
include_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php';
|
|
|
print '<tr><td>' . $langs->trans("LinkedObject") . '</td>';
|
|
print '<tr><td>' . $langs->trans("LinkedObject") . '</td>';
|
|
|
- //$link = ownDolGetElementUrl($object->fk_element, $object->elementtype, 1);
|
|
|
|
|
|
|
+ $link = ownDolGetElementUrl($object->fk_element, $object->elementtype, 1);
|
|
|
print '<td>';
|
|
print '<td>';
|
|
|
if (empty($link)) {
|
|
if (empty($link)) {
|
|
|
print '<span class="opacitymedium">' . $langs->trans("ObjectDeleted") . '</span>';
|
|
print '<span class="opacitymedium">' . $langs->trans("ObjectDeleted") . '</span>';
|