1
0
Fork 0

And still there are notices that have to be removed ... (#5629)

* And still there are notices that have to be removed ...

* Notice removed in ACL part

* Fix missing fields for notifications

* Fixes issue 5630
This commit is contained in:
Michael Vogel 2018-08-18 08:20:50 +02:00 committed by Tobias Diekershoff
commit 060e887a31
10 changed files with 41 additions and 21 deletions

View file

@ -1689,11 +1689,14 @@ function admin_page_users_post(App $a)
$body = sprintf($body, System::baseUrl(), $user['email'], $result['password'], Config::get('config', 'sitename'));
notification([
'type' => SYSTEM_EMAIL,
'type' => SYSTEM_EMAIL,
'language' => $user['language'],
'to_name' => $user['username'],
'to_email' => $user['email'],
'subject' => L10n::t('Registration details for %s', Config::get('config', 'sitename')),
'uid' => $user['uid'],
'subject' => L10n::t('Registration details for %s', Config::get('config', 'sitename')),
'preamble' => $preamble,
'body' => $body]);
'body' => $body]);
}
if (x($_POST, 'page_users_block')) {