Skip to content
Snippets Groups Projects
Commit a1a5eba2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4096 from braito4/patch-1

Part solution bug #4095
parents bc6d04e4 677cba01
Branches
Tags
No related merge requests found
...@@ -510,6 +510,8 @@ foreach ($listofreferent as $key => $value) ...@@ -510,6 +510,8 @@ foreach ($listofreferent as $key => $value)
$idtofilterthirdparty=0; $idtofilterthirdparty=0;
if (! in_array($tablename, array('facture_fourn', 'commande_fourn'))) $idtofilterthirdparty=$object->thirdparty->id; if (! in_array($tablename, array('facture_fourn', 'commande_fourn'))) $idtofilterthirdparty=$object->thirdparty->id;
if (empty($conf->global->PROJECT_LINK_DISABLE))
{
$selectList=$formproject->select_element($tablename, $idtofilterthirdparty, 'minwidth200'); $selectList=$formproject->select_element($tablename, $idtofilterthirdparty, 'minwidth200');
if (! $selectList || ($selectList<0)) if (! $selectList || ($selectList<0))
{ {
...@@ -529,6 +531,7 @@ foreach ($listofreferent as $key => $value) ...@@ -529,6 +531,7 @@ foreach ($listofreferent as $key => $value)
$addform.='</tr></table>'; $addform.='</tr></table>';
$addform.='</form>'; $addform.='</form>';
} }
}
print_fiche_titre($langs->trans($title), $addform, ''); print_fiche_titre($langs->trans($title), $addform, '');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment