From cbb80e6727f77ee137fd4826d7cc892f9d496c29 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur 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 ''; - // Photo - print ''; - print ''.$langs->trans("Photo").''; - print ''; - print $form->showphoto('userphoto',$object,60,0,$caneditfield,'photowithmargin','small'); - print ''; - print ''; - // Employee print ''; print ''.fieldLabel('Employee','employee',0).''; @@ -2237,6 +2229,14 @@ else print ''; } + // Photo + print ''; + print ''.$langs->trans("Photo").''; + print ''; + print $form->showphoto('userphoto',$object,60,0,$caneditfield,'photowithmargin','small'); + print ''; + print ''; + // Categories if (!empty( $conf->categorie->enabled ) && !empty( $user->rights->categorie->lire )) {