diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index 7f186137ed3..c0da1e0c446 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -496,7 +496,7 @@ if ($_GET["action"] == 'create')
$langs->load("project");
print '
| '.$langs->trans("Project").' | ';
- $numprojet=select_projects($societe->id,$projetid,'projectid');
+ $numprojet=select_projects($societe->id,$_REQUEST["projectid"]?$_REQUEST["projectid"]:$projetid,'projectid');
if ($numprojet==0)
{
print ' '.$langs->trans("AddProject").'';
@@ -508,13 +508,13 @@ if ($_GET["action"] == 'create')
print ' ';
print '';
- // Affecte a
+ // Affected by
print '| '.$langs->trans("ActionAffectedTo").' | ';
// $html->select_users($_REQUEST["affectedto"]?$_REQUEST["affectedto"]:$actioncomm->usertodo,'affectedto',1);
$html->select_users($_REQUEST["affectedto"]?$_REQUEST["affectedto"]:($actioncomm->usertodo->id > 0 ? $actioncomm->usertodo : $user),'affectedto',1);
print ' | ';
- // Realise par
+ // Realised by
print '| '.$langs->trans("ActionDoneBy").' | ';
$html->select_users($_REQUEST["doneby"]?$_REQUEST["doneby"]:$actioncomm->userdone,'doneby',1);
print ' | ';
@@ -579,13 +579,13 @@ if ($_GET["action"] == 'create')
}
print '';
- print '| ';
+ print ' | ';
+
+ print ' ';
print '';
print ' ';
print '';
- print ' |
';
-
- print '';
+ print '';
print "";
}
@@ -759,11 +759,13 @@ if ($_GET["id"])
print '';
- print '| ';
- print ' ';
- print ' |
';
+ print '';
- print '';
+ print '
';
+ print ' ';
+ print '';
+
+ print '';
}
else
{