mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix link to document in html mail of expired documents
This commit is contained in:
parent
eded3365b1
commit
66114a653c
|
@ -71,7 +71,7 @@ class SeedDMS_ExpiredDocumentsTask extends SeedDMS_SchedulerTaskBase { /* {{{ */
|
|||
$body .= "---------------------------------------------------------------------------------\n";
|
||||
foreach($docs as $doc) {
|
||||
$body .= sprintf($tableformat."\n", getReadableDate($doc->getExpires()), $doc->getId(), $doc->getName());
|
||||
$bodyhtml .= sprintf($tableformathtml."\n", getReadableDate($doc->getExpires()), $doc->getId(), $doc->getName());
|
||||
$bodyhtml .= sprintf($tableformathtml."\n", getReadableDate($doc->getExpires()), $doc->getId(), '<a href="'.getBaseUrl().'/out/out.ViewDocument.php?documentid='.$doc->getId().'">'.htmlspecialchars($doc->getName()).'</a>');
|
||||
}
|
||||
$bodyhtml .= "</table>".PHP_EOL;
|
||||
if(empty($taskparams['dryrun'])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user