diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index c15b1fe4f32991bb3787d49972e3d8d5cb068ab9..447d2264f41d19fa9a3de97c0eddc4719c8737cc 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -746,6 +746,9 @@ if ($action == 'create') } if(!empty($origin) && !empty($originid)) { + include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; + print '<tr><td>'.$langs->trans("LinkedObject").'</td>'; + print '<td colspan="3">'.dolGetElementUrl($originid,$origin,1).'</td></tr>'; print '<input type="hidden" name="fk_element" size="10" value="'.GETPOST('originid').'">'; print '<input type="hidden" name="elementtype" size="10" value="'.GETPOST('origin').'">'; }