diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php
index ef3f62d98a283570a8184c219417d3381e9ed626..1be43fe94ddd6bb1a09272bfdd7d4d660d824806 100644
--- a/htdocs/projet/element.php
+++ b/htdocs/projet/element.php
@@ -510,24 +510,27 @@ foreach ($listofreferent as $key => $value)
 		$idtofilterthirdparty=0;
 		if (! in_array($tablename, array('facture_fourn', 'commande_fourn'))) $idtofilterthirdparty=$object->thirdparty->id;
 
-		$selectList=$formproject->select_element($tablename, $idtofilterthirdparty, 'minwidth200');
-		if (! $selectList || ($selectList<0))
-		{
-			setEventMessages($formproject->error,$formproject->errors,'errors');
-		}
-		elseif($selectList)
-		{
-			// Define form with the combo list of elements to link
-			$addform.='<form action="'.$_SERVER["PHP_SELF"].'?id='.$projectid.'" method="post">';
-			$addform.='<input type="hidden" name="tablename" value="'.$tablename.'">';
-			$addform.='<input type="hidden" name="action" value="addelement">';
-			$addform.='<input type="hidden" name="datesrfc" value="'.dol_print_date($dates,'dayhourrfc').'">';
-			$addform.='<input type="hidden" name="dateerfc" value="'.dol_print_date($datee,'dayhourrfc').'">';
-			$addform.='<table><tr><td>'.$langs->trans("SelectElement").'</td>';
-			$addform.='<td>'.$selectList.'</td>';
-			$addform.='<td><input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans("AddElement")).'"></td>';
-			$addform.='</tr></table>';
-			$addform.='</form>';
+        	if (empty($conf->global->PROJECT_LINK_DISABLE)) 
+        	{
+			$selectList=$formproject->select_element($tablename, $idtofilterthirdparty, 'minwidth200');
+			if (! $selectList || ($selectList<0))
+			{
+				setEventMessages($formproject->error,$formproject->errors,'errors');
+			}
+			elseif($selectList)
+			{
+				// Define form with the combo list of elements to link
+				$addform.='<form action="'.$_SERVER["PHP_SELF"].'?id='.$projectid.'" method="post">';
+				$addform.='<input type="hidden" name="tablename" value="'.$tablename.'">';
+				$addform.='<input type="hidden" name="action" value="addelement">';
+				$addform.='<input type="hidden" name="datesrfc" value="'.dol_print_date($dates,'dayhourrfc').'">';
+				$addform.='<input type="hidden" name="dateerfc" value="'.dol_print_date($datee,'dayhourrfc').'">';
+				$addform.='<table><tr><td>'.$langs->trans("SelectElement").'</td>';
+				$addform.='<td>'.$selectList.'</td>';
+				$addform.='<td><input type="submit" class="button" value="'.dol_escape_htmltag($langs->trans("AddElement")).'"></td>';
+				$addform.='</tr></table>';
+				$addform.='</form>';
+			}
 		}
 
 		print_fiche_titre($langs->trans($title), $addform, '');