From cbb80e6727f77ee137fd4826d7cc892f9d496c29 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Wed, 22 Feb 2017 00:08:52 +0100 Subject: [PATCH] Fixfield at wrong place --- htdocs/user/card.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/user/card.php b/htdocs/user/card.php index f6ec03abf91..7c923b6f9ef 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -1827,14 +1827,6 @@ else } 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>'; @@ -2237,6 +2229,14 @@ else 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 )) { -- GitLab