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

Fixed: missing css class

parent 7a18240d
No related branches found
No related tags found
No related merge requests found
...@@ -400,11 +400,11 @@ if ($id > 0 || ! empty($ref)) ...@@ -400,11 +400,11 @@ if ($id > 0 || ! empty($ref))
// Contributor // Contributor
print '<td class="nowrap">'; print '<td class="nowrap">';
print img_object('','user'); print img_object('','user','class="hideonsmartphone"');
$contactsoftask=$object->getListContactId('internal'); $contactsoftask=$object->getListContactId('internal');
if (count($contactsoftask)>0) { if (count($contactsoftask)>0) {
$userid=$contactsoftask[0]; $userid=$contactsoftask[0];
$form->select_users($userid,'userid',0,'',0,'',$contactsoftask); print $form->select_dolusers($userid,'userid',0,'',0,'',$contactsoftask);
}else { }else {
print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime'); print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime');
} }
...@@ -506,7 +506,7 @@ if ($id > 0 || ! empty($ref)) ...@@ -506,7 +506,7 @@ if ($id > 0 || ! empty($ref))
$contactsoftask[]=$task_time->fk_user; $contactsoftask[]=$task_time->fk_user;
} }
if (count($contactsoftask)>0) { if (count($contactsoftask)>0) {
$form->select_users($task_time->fk_user,'userid_line',0,'',0,'',$contactsoftask); print $form->select_dolusers($task_time->fk_user,'userid_line',0,'',0,'',$contactsoftask);
}else { }else {
print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime'); print img_error($langs->trans('FirstAddRessourceToAllocateTime')).$langs->trans('FirstAddRessourceToAllocateTime');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment