contrat card.php - showdocuments add parameters

Add missing parameters to showdocuments to manage properly contract entity
This commit is contained in:
LAURIER Alexis 2021-02-10 12:58:40 +01:00 committed by GitHub
parent ca5eed691d
commit 92c374624e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2137,7 +2137,7 @@ if ($action == 'create')
$delallowed = $user->rights->contrat->creer;
print $formfile->showdocuments('contract', $filename, $filedir, $urlsource, $genallowed, $delallowed, $object->model_pdf, 1, 0, 0, 28, 0, '', 0, '', $soc->default_lang);
print $formfile->showdocuments('contract', $filename, $filedir, $urlsource, $genallowed, $delallowed, $object->model_pdf, 1, 0, 0, 28, 0, '', 0, '', $soc->default_lang, '', $object);
// Show links to link elements