diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index 5dbeeb951dd..a2232358a99 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -972,8 +972,8 @@ else print ''; // Photo - print ''; - print ''.fieldLabel('Photo','photoinput').''; + print ''; + print ''.$langs->trans("PhotoFile").''; print ''; if ($object->photo) { print $form->showphoto('contact',$object); diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index b3822143167..67fd082c206 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -5765,7 +5765,7 @@ class Form if ($caneditfield) { if ($object->photo) $ret.="
\n"; - $ret.=''; + $ret.='
'; if ($object->photo) $ret.=''; $ret.=''; $ret.='';
'.$langs->trans("Delete").'

'.$langs->trans("PhotoFile").'