diff --git a/htdocs/contrat/agenda.php b/htdocs/contrat/agenda.php
index 1ab24f2c28c..8731ffa4354 100644
--- a/htdocs/contrat/agenda.php
+++ b/htdocs/contrat/agenda.php
@@ -187,7 +187,7 @@ if ($object->id > 0) {
// Thirdparty
$morehtmlref .= '
'.$object->thirdparty->getNomUrl(1);
if (!getDolGlobalString('MAIN_DISABLE_OTHER_LINK') && $object->thirdparty->id > 0) {
- $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
+ $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
}
// Project
if (isModEnabled('project')) {
diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php
index 5fb5b367606..5539666bace 100644
--- a/htdocs/contrat/card.php
+++ b/htdocs/contrat/card.php
@@ -1471,7 +1471,7 @@ if ($action == 'create') {
// Thirdparty
$morehtmlref .= '
'.$object->thirdparty->getNomUrl(1);
if (!getDolGlobalString('MAIN_DISABLE_OTHER_LINK') && $object->thirdparty->id > 0) {
- $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
+ $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
}
// Project
if (isModEnabled('project')) {
diff --git a/htdocs/contrat/contact.php b/htdocs/contrat/contact.php
index 0cfb9dc306b..2f22275e00d 100644
--- a/htdocs/contrat/contact.php
+++ b/htdocs/contrat/contact.php
@@ -171,6 +171,9 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= $form->editfieldval("RefSupplier", 'ref_supplier', $object->ref_supplier, $object, 0, 'string', '', null, null, '', 1, 'getFormatedSupplierRef');
// Thirdparty
$morehtmlref .= '
'.$object->thirdparty->getNomUrl(1);
+ if (!getDolGlobalString('MAIN_DISABLE_OTHER_LINK') && $object->thirdparty->id > 0) {
+ $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
+ }
// Project
if (isModEnabled('project')) {
$langs->load("projects");
diff --git a/htdocs/contrat/document.php b/htdocs/contrat/document.php
index 2d4a02ada5d..8b4ad585937 100644
--- a/htdocs/contrat/document.php
+++ b/htdocs/contrat/document.php
@@ -145,7 +145,7 @@ if ($object->id) {
// Thirdparty
$morehtmlref .= '
'.$object->thirdparty->getNomUrl(1);
if (!getDolGlobalString('MAIN_DISABLE_OTHER_LINK') && $object->thirdparty->id > 0) {
- $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
+ $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
}
// Project
if (isModEnabled('project')) {
diff --git a/htdocs/contrat/note.php b/htdocs/contrat/note.php
index 76d0d6cb6cc..d201a21f12b 100644
--- a/htdocs/contrat/note.php
+++ b/htdocs/contrat/note.php
@@ -116,6 +116,9 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= $form->editfieldval("RefSupplier", 'ref_supplier', $object->ref_supplier, $object, 0, 'string', '', null, null, '', 1, 'getFormatedSupplierRef');
// Thirdparty
$morehtmlref .= '
'.$object->thirdparty->getNomUrl(1);
+ if (!getDolGlobalString('MAIN_DISABLE_OTHER_LINK') && $object->thirdparty->id > 0) {
+ $morehtmlref .= ' ('.$langs->trans("OtherContracts").')';
+ }
// Project
if (isModEnabled('project')) {
$langs->load("projects");