add head line in plain/text mail

This commit is contained in:
Uwe Steinmann 2023-08-16 17:39:37 +02:00
parent bd9c9e8e3b
commit 918af9b2e3

View File

@ -779,6 +779,7 @@ class SeedDMS_RecentChangesTask extends SeedDMS_SchedulerTaskBase { /* {{{ */
foreach($lists as $dt) {
$params = array();
$bodyhtml .= "<h2>".getMLText('latest_'.$dt)."</h2>".PHP_EOL;
$body .= getMLText('latest_'.$dt).PHP_EOL.PHP_EOL;
$ds = SeedDMS_Core_DMS::filterAccess($docs[$dt], $u, M_READ);
$params['count_'.$dt] = count($ds);
if (count($ds)>0) {