diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index f04d7f5c5b7..8184cf82f5b 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -530,12 +530,15 @@ else */ if ($_GET["action"] == 'ajout_photo' && $user->rights->produit->creer && $product->isproduct) { + $product->add_photo($conf->produit->dir_output); + $langs->load("suppliers"); print_titre($langs->trans("AddPhoto")); - print '
'; - print ''; - print ''; + + print ''; + print ''; + print ''; print ''; print '';
'.$langs->trans("File").'