mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
- fixed php warnings
This commit is contained in:
parent
3e1d956fba
commit
d1b7971e3b
|
@ -68,10 +68,14 @@ if (($oldcomment = $version->getComment()) != $comment) {
|
|||
|
||||
$subject=mydmsDecodeString($subject);
|
||||
$message=mydmsDecodeString($message);
|
||||
|
||||
$notifier->toList($user, $document->_notifyList["users"], $subject, $message);
|
||||
foreach ($document->_notifyList["groups"] as $grp) {
|
||||
$notifier->toGroup($user, $grp, $subject, $message);
|
||||
|
||||
if(isset($document->_notifyList["users"])) {
|
||||
$notifier->toList($user, $document->_notifyList["users"], $subject, $message);
|
||||
}
|
||||
if(isset($document->_notifyList["groups"])) {
|
||||
foreach ($document->_notifyList["groups"] as $grp) {
|
||||
$notifier->toGroup($user, $grp, $subject, $message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user