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
|
@ -69,13 +69,17 @@ if (($oldcomment = $version->getComment()) != $comment) {
|
|||
$subject=mydmsDecodeString($subject);
|
||||
$message=mydmsDecodeString($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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("error_occured"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user