diff --git a/include/enotify.php b/include/enotify.php index 9016249a5..18f5dec88 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -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']);