FIX: List of user to assign a task is not visible
This commit is contained in:
parent
653fb00a0e
commit
5c6f7425f1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user