Skip to content
Snippets Groups Projects
Commit 5c6f7425 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX: List of user to assign a task is not visible

parent 653fb00a
No related branches found
No related tags found
No related merge requests found
......@@ -305,7 +305,14 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third
print '<tr><td>'.$langs->trans("AffectedTo").'</td><td>';
$contactsofproject=(! empty($object->id)?$object->getListContactId('internal'):'');
$form->select_dolusers($user->id,'userid',0,'',0,'',$contactsofproject);
if (count($contactsofproject))
{
print $form->select_dolusers($user->id,'userid',0,'',0,'',$contactsofproject);
}
else
{
print $langs->trans("NoUserAssignedToTheProject");
}
print '</td></tr>';
// Date start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment