diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php index 7be3cebd46c..a2725e744f8 100644 --- a/htdocs/projet/element.php +++ b/htdocs/projet/element.php @@ -311,7 +311,7 @@ $listofreferent=array( 'margin'=>'minus', 'table'=>'facture_fourn', 'datefieldname'=>'datef', - 'urlnew'=>DOL_URL_ROOT.'/fourn/facture/card.php?action=create&projectid='.$id.'&socid='.$socid, + 'urlnew'=>DOL_URL_ROOT.'/fourn/facture/card.php?action=create&projectid='.$id, 'lang'=>'suppliers', 'buttonnew'=>'AddSupplierInvoice', 'testnew'=>$user->rights->fournisseur->facture->creer,