Fix: form to add images should not show link form

This commit is contained in:
Laurent Destailleur 2014-03-18 00:41:56 +01:00
parent 80088c87ac
commit c936638eae

View File

@ -210,7 +210,7 @@ if ($object->id)
{
// Affiche formulaire upload
$formfile=new FormFile($db);
$formfile->form_attach_new_file($_SERVER['PHP_SELF'].'?id='.$object->id.'&type='.$type,$langs->trans("AddPhoto"),1);
$formfile->form_attach_new_file($_SERVER['PHP_SELF'].'?id='.$object->id.'&type='.$type, $langs->trans("AddPhoto"), 1, '', $user->rights->categorie->creer, 50, $object, '', false, '', 0);
}
// Affiche photos