mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +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);
|
$subject=mydmsDecodeString($subject);
|
||||||
$message=mydmsDecodeString($message);
|
$message=mydmsDecodeString($message);
|
||||||
|
|
||||||
$notifier->toList($user, $document->_notifyList["users"], $subject, $message);
|
if(isset($document->_notifyList["users"])) {
|
||||||
foreach ($document->_notifyList["groups"] as $grp) {
|
$notifier->toList($user, $document->_notifyList["users"], $subject, $message);
|
||||||
$notifier->toGroup($user, $grp, $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