Sfoglia il codice sorgente

Merge pull request #6834 from atm-ph/fix_fk_project_on_create_order_from_propal

Fix fk project on create order from propal
Laurent Destailleur 8 anni fa
parent
commit
2021758403
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      htdocs/commande/card.php

+ 0 - 3
htdocs/commande/card.php

@@ -1580,9 +1580,6 @@ if ($action == 'create' && $user->rights->commande->creer)
 	// Project
 	if (! empty($conf->projet->enabled) && $socid > 0)
 	{
-		$projectid = GETPOST('projectid')?GETPOST('projectid'):0;
-		if ($origin == 'project') $projectid = ($originid ? $originid : 0);
-
 		$langs->load("projects");
 		print '<tr>';
 		print '<td>' . $langs->trans("Project") . '</td><td colspan="2">';