set url in notification mail

This commit is contained in:
Uwe Steinmann 2021-02-02 13:08:55 +01:00
parent 7ebd3a4a0a
commit 7c6ab4027a

View File

@ -179,6 +179,7 @@ if ($_POST["reviewStatus"]==-1){
$params['username'] = $user->getFullName();
$params['sitename'] = $settings->_siteName;
$params['http_root'] = $settings->_httpRoot;
$params['url'] = getBaseUrl().$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
$notifier->toList($user, $nl["users"], $subject, $message, $params, SeedDMS_NotificationService::RECV_NOTIFICATION);
foreach ($nl["groups"] as $grp) {
$notifier->toGroup($user, $grp, $subject, $message, $params, SeedDMS_NotificationService::RECV_NOTIFICATION);