Add user array

This commit is contained in:
nupplaPhil 2020-02-04 21:26:03 +01:00
parent 13c19fa9da
commit 1867267513
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -505,7 +505,10 @@ function notification($params)
->newNotifyMail()
->addHeaders($datarray['headers'])
->withRecipient($params['to_email'])
->forUser($datarray['uid'])
->forUser([
'uid' => $datarray['uid'],
'language' => $params['language'],
])
->withNotification($datarray['subject'], $datarray['preamble'], $datarray['title'], $datarray['body'])
->withSiteLink($datarray['tsitelink'], $datarray['hsitelink'])
->withItemLink($datarray['itemlink']);