Skip to content

Commit

Permalink
FIX: add entity param to document link
Browse files Browse the repository at this point in the history
  • Loading branch information
altatof committed Jan 25, 2017
1 parent d65cb29 commit 09dde65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/societe/soc.php
Expand Up @@ -2524,7 +2524,7 @@

$var=true;

print $formfile->showdocuments('company', $object->id, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 0, 0, 0, 28, 0, '', 0, '', $object->default_lang);
print $formfile->showdocuments('company', $object->id, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 0, 0, 0, 28, 0, 'entity='.$object->entity, 0, '', $object->default_lang);

print '</div><div class="fichehalfright"><div class="ficheaddleft">';

Expand Down

0 comments on commit 09dde65

Please sign in to comment.