Fix create propal form from propal with project id, fk_project is not used to init select project

This commit is contained in:
phf 2017-05-11 09:53:23 +02:00
parent b29d0385e6
commit 4d9016c49f

View File

@ -1589,9 +1589,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">';