mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
fix php error when removing versions of a document
This commit is contained in:
parent
4145b67dd6
commit
177e3c571a
|
@ -104,7 +104,7 @@ else {
|
|||
* be informed about the removal.
|
||||
*/
|
||||
$emailUserList = array();
|
||||
$emailUserList[] = $version->_userID;
|
||||
$emailUserList[] = $version->getUser()->getID();
|
||||
$emailGroupList = array();
|
||||
$status = $version->getReviewStatus();
|
||||
foreach ($status as $st) {
|
||||
|
@ -150,12 +150,12 @@ else {
|
|||
$nl=$document->getNotifyList();
|
||||
$userrecipients = array();
|
||||
foreach ($emailUserList as $eID) {
|
||||
$eU = $version->_document->_dms->getUser($eID);
|
||||
$eU = $version->getDMS()->getUser($eID);
|
||||
$userrecipients[] = $eU;
|
||||
}
|
||||
$grouprecipients = array();
|
||||
foreach ($emailGroupList as $eID) {
|
||||
$eU = $version->_document->_dms->getGroup($eID);
|
||||
$eU = $version->getDMS()->getGroup($eID);
|
||||
$grouprecipients[] = $eU;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user