Skip to content
Snippets Groups Projects
Commit 7b20e15b authored by Charles Benke's avatar Charles Benke Committed by Regis Houssin
Browse files

Update htdocs/fichinter/fiche.php

parent a1085f9c
No related branches found
No related tags found
No related merge requests found
......@@ -695,7 +695,11 @@ if ($action == 'create')
$langs->load("project");
print '<tr><td valign="top">'.$langs->trans("Project").'</td><td>';
$numprojet=select_projects($soc->id,GETPOST('projectid','int'),'projectid');
if ($societe->fournisseur==1)
$numprojet=select_projects(-1,$_POST["projectid"],'projectid');
else
$numprojet=select_projects($societe->id,$_POST["projectid"],'projectid');
//$numprojet=select_projects($soc->id,GETPOST('projectid','int'),'projectid');
if ($numprojet==0)
{
print ' &nbsp; <a href="'.DOL_DOCUMENT_ROOT.'/projet/fiche.php?socid='.$soc->id.'&action=create">'.$langs->trans("AddProject").'</a>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment