Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2024-04-13 09:25:27 +02:00
commit bd80e96c92
2 changed files with 3 additions and 2 deletions

View File

@ -298,6 +298,7 @@
- do not show full list of notifiers to none admins - do not show full list of notifiers to none admins
- do not list document/folders in sequence selector if its number exceeds 50 - do not list document/folders in sequence selector if its number exceeds 50
- typeahead menu works with arrow keys again, wait 1 sec. before searching - typeahead menu works with arrow keys again, wait 1 sec. before searching
- fix sending notification mails when document/folder was moved
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Changes in version 5.1.33 Changes in version 5.1.33

View File

@ -914,7 +914,7 @@ class SeedDMS_NotificationService {
// if user is not owner and owner not already in list of notifiers, then // if user is not owner and owner not already in list of notifiers, then
// send notification to owner // send notification to owner
if ($user->getID() != $document->getOwner()->getID() && if ($user->getID() != $document->getOwner()->getID() &&
false === SeedDMS_Core_DMS::inList($document->getOwner(), $notifyList['users'])) { false === SeedDMS_Core_DMS::inList($document->getOwner(), $nl['users'])) {
$this->toIndividual($user, $document->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER); $this->toIndividual($user, $document->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER);
} }
} /* }}} */ } /* }}} */
@ -948,7 +948,7 @@ class SeedDMS_NotificationService {
} }
// if user is not owner send notification to owner // if user is not owner send notification to owner
if ($user->getID() != $folder->getOwner()->getID() && if ($user->getID() != $folder->getOwner()->getID() &&
false === SeedDMS_Core_DMS::inList($folder->getOwner(), $notifyList['users'])) { false === SeedDMS_Core_DMS::inList($folder->getOwner(), $nl['users'])) {
$this->toIndividual($user, $folder->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER); $this->toIndividual($user, $folder->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER);
} }
} /* }}} */ } /* }}} */