Skip to content

Commit

Permalink
Fixfield at wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 21, 2017
1 parent 230bb09 commit cbb80e6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions htdocs/user/card.php
Expand Up @@ -1827,14 +1827,6 @@
}
print '</td></tr>';

// Photo
print '<tr>';
print '<td>'.$langs->trans("Photo").'</td>';
print '<td>';
print $form->showphoto('userphoto',$object,60,0,$caneditfield,'photowithmargin','small');
print '</td>';
print '</tr>';

// Employee
print '<tr>';
print '<td>'.fieldLabel('Employee','employee',0).'</td><td>';
Expand Down Expand Up @@ -2237,6 +2229,14 @@
print '</td></tr>';
}

// Photo
print '<tr>';
print '<td>'.$langs->trans("Photo").'</td>';
print '<td>';
print $form->showphoto('userphoto',$object,60,0,$caneditfield,'photowithmargin','small');
print '</td>';
print '</tr>';

// Categories
if (!empty( $conf->categorie->enabled ) && !empty( $user->rights->categorie->lire ))
{
Expand Down

0 comments on commit cbb80e6

Please sign in to comment.