User affected to is current user by default
This commit is contained in:
parent
c639b5b293
commit
4250c4c982
@ -489,7 +489,8 @@ if ($_GET["action"] == 'create')
|
|||||||
|
|
||||||
// Affecte a
|
// Affecte a
|
||||||
print '<tr><td width="30%" nowrap="nowrap">'.$langs->trans("ActionAffectedTo").'</td><td>';
|
print '<tr><td width="30%" nowrap="nowrap">'.$langs->trans("ActionAffectedTo").'</td><td>';
|
||||||
$html->select_users($_REQUEST["affectedto"]?$_REQUEST["affectedto"]:$actioncomm->usertodo,'affectedto',1);
|
// $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 '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Realise par
|
// Realise par
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user