diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index a4fe3df4034..98cb6d61efa 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -7207,7 +7207,7 @@ class Form
print '
'.$objp->ref.' | ';
print ''.(!empty($objp->ref_client) ? $objp->ref_client : $objp->ref_supplier).' | ';
print '';
- if ($possiblelink[label] == 'LinkToContract') {
+ if ($possiblelink['label'] == 'LinkToContract') {
$form = new Form($db);
print $form->textwithpicto('', $langs->trans("InformationOnLinkToContract")).' ';
}
|