Fix: Problme de droit sur le lien pdf de la propale associe

This commit is contained in:
Regis Houssin 2005-07-06 16:17:49 +00:00
parent f4fe9ad2cd
commit 4233c55575

View File

@ -172,7 +172,7 @@ if ($_GET["propalid"])
$relativepath = "$obj->ref/$obj->ref.pdf";
if (file_exists($file)) {
print '<td colspan="2"><a href="'.DOL_URL_ROOT.'/document.php?type=propal&file='.urlencode($relativepath).'">'.$obj->ref.'.pdf</a></td></tr>';
print '<td colspan="2"><a href="'.DOL_URL_ROOT.'/document.php?modulepart=propal&file='.urlencode($relativepath).'">'.$obj->ref.'.pdf</a></td></tr>';
}
print '</tr>';
/*