mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix fatal error when recipients were removed from list
This commit is contained in:
parent
f9d2d9dc48
commit
408cd5a3eb
|
@ -184,7 +184,7 @@ if (count($receiptIndex["i"]) > 0) {
|
|||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['version'] = $content->_version;
|
||||
$params['comment'] = $content->getComment();
|
||||
$params['recipient'] = $accessIndex["i"][$p]->getFullName();
|
||||
$params['recipient'] = $accessIndex["i"][$rx]->getFullName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
|
@ -289,7 +289,7 @@ if (count($receiptIndex["g"]) > 0) {
|
|||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['version'] = $content->_version;
|
||||
$params['comment'] = $content->getComment();
|
||||
$params['recipient'] = $accessIndex["g"][$p]->getName();
|
||||
$params['recipient'] = $accessIndex["g"][$rx]->getName();
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
|
|
Loading…
Reference in New Issue
Block a user